Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hikey:/usr/bin/kselftests/vm# ./run_vmtests
- ---------------------
- running hugepage-mmap
- ---------------------
- Returned address is 0x400000000000
- First hex is 0
- First hex is 3020100
- [PASS]
- --------------------
- running hugepage-shm
- --------------------
- shmid: 0x0
- shmaddr: 0x400000000000
- Starting the writes:
- ..........................................................................................................................................
- ......................................................................................................................
- Starting the Check...Done.
- [PASS]
- -------------------
- running map_hugetlb
- -------------------
- Returned address is 0x400000000000
- First hex is 0
- First hex is 3020100
- [PASS]
- NOTE: The above hugetlb tests provide minimal coverage. Use
- https://github.com/libhugetlbfs/libhugetlbfs.git for
- hugetlb regression testing.
- -------------------
- running userfaultfd
- -------------------
- nr_pages: 32768, nr_pages_per_cpu: 4096
- bounces: 31, mode: rnd racing ver poll, userfaults: 280 172 175 143 152 93 89 72
- bounces: 30, mode: racing ver poll, userfaults: 283 226 124 128 70 63 100 51
- bounces: 29, mode: rnd ver poll, userfaults: 775 946 805 702 689 608 1286 455
- bounces: 28, mode: ver poll, userfaults: 332 514 641 508 613 516 249 269
- bounces: 27, mode: rnd racing poll, userfaults: 245 263 230 192 230 202 148 160
- bounces: 26, mode: racing poll, userfaults: 216 233 213 204 229 159 142 163
- bounces: 25, mode: rnd poll, userfaults: 1123 873 644 998 1102 680 467 667
- bounces: 24, mode: poll, userfaults: 555 470 505 525 525 565 479 416
- bounces: 23, mode: rnd racing ver, userfaults: 238 225 220 250 203 249 201 264
- bounces: 22, mode: racing ver, userfaults: 270 230 273 248 165 236 169 60
- bounces: 21, mode: rnd ver, userfaults: 740 866 712 443 504 511 425 401
- bounces: 20, mode: ver, userfaults: 512 578 699 688 539 416 375 577
- bounces: 19, mode: rnd racing, userfaults: 364 369 394 365 270 300 265 246
- bounces: 18, mode: racing, userfaults: 176 94 74 63 90 84 114 81
- bounces: 17, mode: rnd, userfaults: 427 973 1471 787 1270 498 444 367
- bounces: 16, mode:, userfaults: 661 770 866 489 568 545 535 513
- bounces: 15, mode: rnd racing ver poll, userfaults: 188 236 165 161 154 153 156 138
- bounces: 14, mode: racing ver poll, userfaults: 132 112 112 160 91 135 65 59
- bounces: 13, mode: rnd ver poll, userfaults: 1045 868 637 868 1617 689 659 1470
- bounces: 12, mode: ver poll, userfaults: 528 667 653 517 550 480 474 534
- bounces: 11, mode: rnd racing poll, userfaults: 195 295 256 197 170 184 215 149
- bounces: 10, mode: racing poll, userfaults: 71 56 58 53 46 49 33 61
- bounces: 9, mode: rnd poll, userfaults: 751 642 1709 703 1579 1669 1291 425
- bounces: 8, mode: poll, userfaults: 691 755 709 765 552 808 592 563
- bounces: 7, mode: rnd racing ver, userfaults: 282 291 318 244 199 244 166 211
- bounces: 6, mode: racing ver, userfaults: 135 157 64 39 48 37 17 79
- bounces: 5, mode: rnd ver, userfaults: 453 479 449 498 536 460 370 590
- bounces: 4, mode: ver, userfaults: 217 284 253 290 290 268 210 132
- bounces: 3, mode: rnd racing, userfaults: 297 343 368 279 231 230 232 253
- bounces: 2, mode: racing, userfaults: 146 224 139 273 212 157 138 67
- bounces: 1, mode: rnd, userfaults: 536 260 401 444 330 388 391 364
- bounces: 0, mode:, userfaults: 843 549 670 609 593 518 520 701
- testing UFFDIO_ZEROPAGE: done.
- testing events (fork, remap, remove): userfaults: 32768
- [PASS]
- ---------------------------
- running userfaultfd_hugetlb
- ---------------------------
- nr_pages: 64, nr_pages_per_cpu: 8
- bounces: 31, mode: rnd racing ver poll, userfaults: 4 5 5 2 3 0 1 0
- bounces: 30, mode: racing ver poll, userfaults: 9 4 5 4 2 1 0 1
- bounces: 29, mode: rnd ver poll, userfaults: 14 12 6 3 4 1 0 0
- bounces: 28, mode: ver poll, userfaults: 10 9 4 7 0 0 0 0
- bounces: 27, mode: rnd racing poll, userfaults: 10 5 2 3 0 1 1 1
- bounces: 26, mode: racing poll, userfaults: 9 4 8 0 1 1 1 0
- bounces: 25, mode: rnd poll, userfaults: 11 15 7 5 2 0 0 0
- bounces: 24, mode: poll, userfaults: 8 11 6 1 2 1 0 0
- bounces: 23, mode: rnd racing ver, userfaults: 10 4 5 4 4 0 0 0
- bounces: 22, mode: racing ver, userfaults: 8 5 7 2 0 0 0 0
- bounces: 21, mode: rnd ver, userfaults: 14 10 9 5 2 0 0 0
- bounces: 20, mode: ver, userfaults: 11 10 7 1 2 0 0 0
- bounces: 19, mode: rnd racing, userfaults: 11 5 8 3 2 0 0 0
- bounces: 18, mode: racing, userfaults: 10 4 5 3 1 0 1 0
- bounces: 17, mode: rnd, userfaults: 13 10 9 4 3 0 0 0
- bounces: 16, mode:, userfaults: 12 7 4 5 0 0 0 0
- bounces: 15, mode: rnd racing ver poll, userfaults: 10 4 2 3 5 1 0 1
- bounces: 14, mode: racing ver poll, userfaults: 10 2 2 4 0 0 0 0
- bounces: 13, mode: rnd ver poll, userfaults: 15 10 10 4 2 0 0 0
- bounces: 12, mode: ver poll, userfaults: 8 5 4 1 2 1 0 0
- bounces: 11, mode: rnd racing poll, userfaults: 9 7 2 2 1 1 0 0
- bounces: 10, mode: racing poll, userfaults: 6 7 4 1 2 0 0 0
- bounces: 9, mode: rnd poll, userfaults: 13 12 5 5 3 0 0 0
- bounces: 8, mode: poll, userfaults: 10 4 3 1 1 1 0 0
- bounces: 7, mode: rnd racing ver, userfaults: 8 2 5 4 3 0 2 0
- bounces: 6, mode: racing ver, userfaults: 8 4 2 4 1 2 1 0
- bounces: 5, mode: rnd ver, userfaults: 14 10 10 5 2 0 0 0
- bounces: 4, mode: ver, userfaults: 10 4 10 3 0 1 3 0
- bounces: 3, mode: rnd racing, userfaults: 6 10 6 3 1 0 0 0
- bounces: 2, mode: racing, userfaults: 7 1 6 2 1 2 0 2
- bounces: 1, mode: rnd, userfaults: 17 16 8 3 2 0 0 0
- bounces: 0, mode:, userfaults: 11 11 6 5 2 0 2 1
- testing UFFDIO_ZEROPAGE: done.
- testing events (fork, remap, remove): userfaults: 64
- [PASS]
- -------------------------
- running userfaultfd_shmem
- -------------------------
- nr_pages: 32768, nr_pages_per_cpu: 4096
- bounces: 31, mode: rnd racing ver poll, userfaults: 186 250 269 168 159 208 160 142
- bounces: 30, mode: racing ver poll, userfaults: 122 167 111 93 154 98 74 89
- bounces: 29, mode: rnd ver poll, userfaults: 590 1251 693 912 475 671 875 832
- bounces: 28, mode: ver poll, userfaults: 598 557 621 594 554 591 690 402
- bounces: 27, mode: rnd racing poll, userfaults: 319 289 237 256 223 223 173 193
- bounces: 26, mode: racing poll, userfaults: 111 111 122 139 119 107 112 114
- bounces: 25, mode: rnd poll, userfaults: 597 743 449 958 409 384 382 585
- bounces: 24, mode: poll, userfaults: 614 576 503 540 521 500 621 570
- bounces: 23, mode: rnd racing ver, userfaults: 244 145 121 173 179 92 206 171
- bounces: 22, mode: racing ver, userfaults: 222 114 287 105 77 86 153 63
- bounces: 21, mode: rnd ver, userfaults: 478 566 341 440 507 424 431 273
- bounces: 20, mode: ver, userfaults: 750 761 710 555 601 548 473 353
- bounces: 19, mode: rnd racing, userfaults: 263 338 230 279 275 192 263 253
- bounces: 18, mode: racing, userfaults: 102 161 125 105 106 76 78 73
- bounces: 17, mode: rnd, userfaults: 1045 415 698 572 507 685 774 521
- bounces: 16, mode:, userfaults: 466 546 538 479 318 243 547 426
- bounces: 15, mode: rnd racing ver poll, userfaults: 286 302 235 178 182 182 203 227
- bounces: 14, mode: racing ver poll, userfaults: 112 111 114 82 97 56 100 77
- bounces: 13, mode: rnd ver poll, userfaults: 1468 1303 634 848 505 888 645 518
- bounces: 12, mode: ver poll, userfaults: 464 771 499 558 458 553 620 446
- bounces: 11, mode: rnd racing poll, userfaults: 187 333 281 193 177 167 178 165
- bounces: 10, mode: racing poll, userfaults: 90 80 103 91 90 79 72 81
- bounces: 9, mode: rnd poll, userfaults: 552 577 570 662 412 342 368 218
- bounces: 8, mode: poll, userfaults: 783 944 712 584 600 680 753 651
- bounces: 7, mode: rnd racing ver, userfaults: 221 254 304 225 185 260 145 164
- bounces: 6, mode: racing ver, userfaults: 268 203 176 162 147 174 97 123
- bounces: 5, mode: rnd ver, userfaults: 817 842 637 546 648 997 705 1346
- bounces: 4, mode: ver, userfaults: 446 477 515 481 468 373 425 409
- bounces: 3, mode: rnd racing, userfaults: 300 252 166 262 247 219 253 193
- bounces: 2, mode: racing, userfaults: 113 73 84 100 77 98 62 77
- bounces: 1, mode: rnd, userfaults: 770 814 2157 1274 1040 885 1108 863
- bounces: 0, mode:, userfaults: 431 375 594 390 492 443 403 357
- testing UFFDIO_ZEROPAGE: done.
- testing events (fork, remap, remove): userfaults: 32768
- [PASS]
- -----------------------
- running compaction_test
- -----------------------
- [ 215.231972] compaction_test invoked oom-killer: gfp_mask=0x16080c0(GFP_KERNEL|__GFP_ZERO|__GFP_NOTRACK), nodemask=(null), order=0, oom
- _score_adj=0
- [ 215.245811] compaction_test cpuset=/ mems_allowed=0
- [ 215.251197] CPU: 7 PID: 4871 Comm: compaction_test Not tainted 4.13.0-rc1-00059-g74cbd96 #1
- [ 215.259778] Hardware name: HiKey Development Board (DT)
- [ 215.265147] Call trace:
- [ 215.267675] [<ffff000008089ec8>] dump_backtrace+0x0/0x230
- [ 215.273220] [<ffff00000808a1bc>] show_stack+0x14/0x20
- [ 215.278411] [<ffff000008b1b8a8>] dump_stack+0xb8/0xf0
- [ 215.283608] [<ffff0000082016d0>] dump_header+0x90/0x3a8
- [ 215.288974] [<ffff000008200a18>] oom_kill_process+0x2f0/0x710
- [ 215.294886] [<ffff00000820116c>] out_of_memory+0xec/0x560
- [ 215.300431] [<ffff000008208480>] __alloc_pages_nodemask+0x1230/0x1318
- [ 215.307043] [<ffff000008264eb0>] alloc_pages_current+0x80/0xe8
- [ 215.313030] [<ffff0000082402c0>] __pte_alloc+0x28/0x160
- [ 215.318393] [<ffff000008242fcc>] __handle_mm_fault+0xfdc/0x10d0
- [ 215.324466] [<ffff000008243268>] handle_mm_fault+0x1a8/0x338
- [ 215.330276] [<ffff00000823aef8>] __get_user_pages+0xf8/0x318
- [ 215.336085] [<ffff00000823b710>] populate_vma_page_range+0x60/0x68
- [ 215.342427] [<ffff00000823b7c0>] __mm_populate+0xa8/0x130
- [ 215.347969] [<ffff000008225a30>] vm_mmap_pgoff+0xe8/0xf0
- [ 215.353421] [<ffff0000082469a8>] SyS_mmap_pgoff+0x188/0x228
- [ 215.359140] [<ffff0000080897c8>] sys_mmap+0x18/0x28
- [ 215.364146] [<ffff0000080837cc>] __sys_trace_return+0x0/0x4
- [ 215.370084] Mem-Info:
- [ 215.372435] active_anon:6479 inactive_anon:4129 isolated_anon:0
- [ 215.372435] active_file:121 inactive_file:344 isolated_file:0
- [ 215.372435] unevictable:108288 dirty:2 writeback:0 unstable:0
- [ 215.372435] slab_reclaimable:108288 slab_unreclaimable:2
- [ 215.372435] mapped:690 shmem:4217 pagetables:405 bounce:0
- [ 215.372435] free:36640 free_pcp:0 free_cma:31903
- [ 215.406463] Node 0 active_anon:25916kB inactive_anon:16516kB active_file:124kB inactive_file:0kB unevictable:433152kB isolated(anon):0k
- B isolated(file):0kB mapped:1612kB dirty:8kB writeback:0kB shmem:16868kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 6144kB writeback_tm
- p:0kB unstable:0kB all_unreclaimable? no
- [ 215.434865] Node 0 DMA free:147508kB min:22528kB low:28160kB high:33792kB active_anon:25916kB inactive_anon:16516kB active_file:484kB i
- nactive_file:716kB unevictable:433152kB writepending:8kB present:2061364kB managed:1991072kB mlocked:433152kB kernel_stack:2368kB pagetabl
- es:1620kB bounce:0kB free_pcp:264kB local_pcp:0kB free_cma:127612kB
- [ 215.465683] lowmem_reserve[]: 0 0 0
- [ 215.469300] Node 0 DMA: 193*4kB (UEC) 122*8kB (UMEC) 57*16kB (UEC) 84*32kB (UMEC) 47*64kB (UMEC) 13*128kB (UME) 3*256kB (UE) 2*512kB (U
- M) 1*1024kB (E) 0*2048kB 33*4096kB (UMC) = 148004kB
- [ 215.486601] Node 0 hugepages_total=642 hugepages_free=642 hugepages_surp=0 hugepages_size=2048kB
- [ 215.495648] 4372 total pagecache pages
- [ 215.499558] 0 pages in swap cache
- [ 215.507883] Swap cache stats: add 0, delete 0, find 0/0
- [ 215.518188] Free swap = 0kB
- [ 215.526047] Total swap = 0kB
- [ 215.533768] 515341 pages RAM
- [ 215.541318] 0 pages HighMem/MovableOnly
- [ 215.549720] 17573 pages reserved
- [ 215.557350] 32768 pages cma reserved
- [ 215.565291] [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name
- [ 215.578457] [ 1413] 0 1413 6779 422 8 3 0 0 systemd-journal
- [ 215.592606] [ 1436] 0 1436 2706 120 8 4 0 -1000 systemd-udevd
- [ 215.606423] [ 1450] 993 1450 19418 58 8 4 0 0 systemd-timesyn
- [ 215.620383] [ 2426] 0 2426 741 25 5 3 0 0 klogd
- [ 215.633464] [ 2427] 995 2427 1369 78 6 3 0 0 avahi-daemon
- [ 215.647180] [ 2429] 995 2429 1338 64 6 3 0 0 avahi-daemon
- [ 215.660890] [ 2431] 997 2431 1285 126 6 3 0 -900 dbus-daemon
- [ 215.674498] [ 2432] 992 2432 810 45 6 4 0 0 systemd-network
- [ 215.688459] [ 2433] 0 2433 602 32 5 3 0 0 atd
- [ 215.701332] [ 2434] 0 2434 741 17 5 3 0 0 syslogd
- [ 215.714563] [ 2435] 0 2435 792 66 5 4 0 0 systemd-logind
- [ 215.728373] [ 2436] 0 2436 683 127 6 3 0 0 crond
- [ 215.741388] [ 2437] 0 2437 58717 279 15 3 0 0 NetworkManager
- [ 215.755196] [ 2454] 991 2454 943 43 5 3 0 0 systemd-resolve
- [ 215.769080] [ 2460] 65534 2460 614 39 5 3 0 0 dnsmasq
- [ 215.782258] [ 2461] 996 2461 115567 2346 25 4 0 0 polkitd
- [ 215.795445] [ 2462] 0 2462 564 32 5 3 0 0 agetty
- [ 215.808540] [ 2463] 0 2463 1439 97 7 3 0 0 login
- [ 215.821514] [ 2488] 0 2488 3086 1716 10 3 0 0 dhclient
- [ 215.834766] [ 2502] 1000 2502 1351 162 7 3 0 0 systemd
- [ 215.847931] [ 2504] 1000 2504 2008 295 8 4 0 0 (sd-pam)
- [ 215.861137] [ 2507] 1000 2507 842 81 5 3 0 0 sh
- [ 215.873781] [ 2512] 1000 2512 1311 80 7 3 0 0 su
- [ 215.886390] [ 2513] 0 2513 877 90 5 3 0 0 sh
- [ 215.898958] [ 2545] 0 2545 723 47 5 3 0 0 run_vmtests
- [ 215.912302] [ 4871] 0 4871 108978 108272 216 4 0 0 compaction_test
- [ 215.925990] Out of memory: Kill process 4871 (compaction_test) score 211 or sacrifice child
- [ 215.939033] Killed process 4871 (compaction_test) total-vm:435912kB, anon-rss:433084kB, file-rss:4kB, shmem-rss:0kB
- [ 215.955041] oom_reaper: reaped process 4871 (compaction_test), now anon-rss:433156kB, file-rss:0kB, shmem-rss:0kB
- ./run_vmtests: line 138: 4871 Killed ./compaction_test
- [FAIL]
- ----------------------
- running on-fault-limit
- ----------------------
- [PASS]
- --------------------
- running mlock2-tests
- --------------------
- [PASS]
- -----------------------------
- running virtual_address_range
- -----------------------------
- [PASS]
- hikey:/usr/bin/kselftests/vm#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement