git checkout 666a584d3a765a914642f80deef7a33fb309df5d HEAD is now at 666a584... drivers/rtc/rtc-palmas.c: support for backup battery charging ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:666a584d3a765a914642f80deef7a33fb309df5d:bisect-mm TEST FAILURE [ 54.666722] init: Temporary process spawn error: No space left on device [ 56.020577] BUG: Bad page map in process killall5 pte:53425553 pmd:075f4067 [ 56.022578] addr:08800000 vm_flags:00100073 anon_vma:7f5f6f00 mapping: (null) index:8800 [ 56.025276] CPU: 0 PID: 101 Comm: killall5 Not tainted 3.11.0-09272-g666a584 #52 /kernel/i386-randconfig-i002-0912/666a584d3a765a914642f80deef7a33fb309df5d/dmesg-quantal-ant-14:20130912234102:3.11.0-09272-g666a584:52 /kernel/i386-randconfig-i002-0912/666a584d3a765a914642f80deef7a33fb309df5d/dmesg-quantal-ant-7:20130915201823:3.11.0-09272-g666a584:52 bisect: bad commit 666a584d3a765a914642f80deef7a33fb309df5d git checkout v3.11 Previous HEAD position was 666a584... drivers/rtc/rtc-palmas.c: support for backup battery charging HEAD is now at 6e46645... Linux 3.11 ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:6e4664525b1db28f8c4e1130957f70a94c19213e:bisect-mm 2013-09-15-20:19:59 6e4664525b1db28f8c4e1130957f70a94c19213e reuse /kernel/i386-randconfig-i002-0912/6e4664525b1db28f8c4e1130957f70a94c19213e/vmlinuz-3.11.0 2013-09-15-20:20:00 detecting boot state . 63 70 76 87 97 104 113 132 140 145 152 156 160 161 166 175 187 190 195 205 218 238 265 299 316 339 361 373 394 411 440 456 478 490 503 512 523 533 545 552 554 558 560 561 562 564 568. 570 571 573.... 574. 576 577. 580. 582 584..... 587 589.. 590.. 591. 592 593...... 601 604. 605 610 618 633 642 648 664 671 673.. 681 686 687 688 689.. 691 693 701 716 730 768 810 848 866 889 907 923 943 996 1044 1058 1071 1073 1074 1075.. 1078. 1079....... 1080 SUCCESS bisect: good commit v3.11 git bisect start 666a584d3a765a914642f80deef7a33fb309df5d v3.11 -- Previous HEAD position was 6e46645... Linux 3.11 HEAD is now at 3c0eee3... Linux 2.6.37 Bisecting: 4462 revisions left to test after this (roughly 12 steps) [a09e9a7a4b907f2dfa9bdb2b98a1828ab4b340b2] Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux git bisect run /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:a09e9a7a4b907f2dfa9bdb2b98a1828ab4b340b2:bisect-mm 2013-09-15-21:31:09 a09e9a7a4b907f2dfa9bdb2b98a1828ab4b340b2 compiling 282 real 1345 user 142 sys 527.18% cpu i386-randconfig-i002-0912 2013-09-15-21:36:38 detecting boot state 3.11.0-04809-ga09e9a7. 3 7 10 14 16 17 18..... 19 20.... 21.......... 22.. 23. 26 27 29 33 34 40 52 69 93 131 155 191 210 238 250 258 272 286 295 315 345 364 374 387 435 468 545 601 703 747 922 1022 1052 1060 1073 1076 1078... 1079. 1080 SUCCESS Bisecting: 2284 revisions left to test after this (roughly 11 steps) [8e73e367f7dc50f1d1bc22a63e5764bb4eea9b48] Merge tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:8e73e367f7dc50f1d1bc22a63e5764bb4eea9b48:bisect-mm 2013-09-15-22:15:41 8e73e367f7dc50f1d1bc22a63e5764bb4eea9b48 compiling 203 real 1354 user 140 sys 735.41% cpu i386-randconfig-i002-0912 2013-09-15-22:19:26 detecting boot state 3.11.0-06987-g8e73e36. 6 13 18 47 75 94 118 147 167 199 227 256 285 307 339 364 395 425 447 479 508 528 538 548 553 555 557 564 567. 568.. 569 570 573 581 595 610 624 664 752 854 940 1012 1060 1078 1080 SUCCESS Bisecting: 1144 revisions left to test after this (roughly 10 steps) [64c353864e3f7ccba0ade1bd6f562f9a3bc7e68d] Merge branch 'for-v3.12' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:64c353864e3f7ccba0ade1bd6f562f9a3bc7e68d:bisect-mm 2013-09-15-22:43:57 64c353864e3f7ccba0ade1bd6f562f9a3bc7e68d compiling 196 real 1352 user 137 sys 757.99% cpu i386-randconfig-i002-0912 2013-09-15-22:47:34 detecting boot state 3.11.0-08127-g64c3538. 3 4 5.. 7 12 18 29 42 56 71 87 107 130 141. 207 225 262 284 321 344 378 411 438 462 495 528 551 582 599 612 623 627 634 641 649 651 670 694 710 722 731 737 752 768 774 779 813 905 984 1062 1067 1074 1079................................................................................................................... 1080 SUCCESS Bisecting: 568 revisions left to test after this (roughly 9 steps) [640414171818c6293c23e74a28d1c69b2a1a7fe5] Merge tag 'late-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:640414171818c6293c23e74a28d1c69b2a1a7fe5:bisect-mm 2013-09-16-00:14:07 640414171818c6293c23e74a28d1c69b2a1a7fe5 reuse /kernel/i386-randconfig-i002-0912/640414171818c6293c23e74a28d1c69b2a1a7fe5/vmlinuz-3.11.0-08703-g6404141 2013-09-16-00:14:08 detecting boot state .. 2 5 37 206 260 382 470 539 740 852 939 1030 1068 1072 1077 1080 SUCCESS Bisecting: 276 revisions left to test after this (roughly 8 steps) [fa1586a7e43760f0e25e72b2e3f97ee18b2be967] Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:fa1586a7e43760f0e25e72b2e3f97ee18b2be967:bisect-mm 2013-09-16-00:23:10 fa1586a7e43760f0e25e72b2e3f97ee18b2be967 compiling 207 real 1362 user 139 sys 724.90% cpu i386-randconfig-i002-0912 2013-09-16-00:26:58 detecting boot state 3.11.0-08995-gfa1586a 1 5 10 17 24 36 37 40 42.. 44 47 54 61 69 74 84 97 109 124 134 147 160 174 181 195 208 217 224 227 232 235 238 243 244 250 254 258 260 263 270 276 280 284 287 289. 291 294 329 352 379 432 468 510 600 658 738 789 855 912 984 1052 1053 1071 1077 1078 1079.............. 1080 SUCCESS Bisecting: 138 revisions left to test after this (roughly 7 steps) [bc4b4448dba660afc8df3790564320302d9709a1] mm: move pgtable related functions to right place running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:bc4b4448dba660afc8df3790564320302d9709a1:bisect-mm 2013-09-16-01:08:59 bc4b4448dba660afc8df3790564320302d9709a1 compiling 220 real 1332 user 138 sys 666.98% cpu i386-randconfig-i002-0912 2013-09-16-01:13:03 detecting boot state 3.11.0-09133-gbc4b444............. 1. 3... 5 6.. 7. 8 9.... 10 11. 13. 32 33 173 250 316 453 529 649 810 946 1060 1066 1069 1072 1075 1076...... 1078 1079 1080 SUCCESS Bisecting: 69 revisions left to test after this (roughly 6 steps) [325c4ef5c4b17372c3222d896040d7848e67fbdb] mm/madvise.c:madvise_hwpoison(): remove local `ret' running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:325c4ef5c4b17372c3222d896040d7848e67fbdb:bisect-mm 2013-09-16-01:43:34 325c4ef5c4b17372c3222d896040d7848e67fbdb compiling 201 real 1372 user 140 sys 749.75% cpu i386-randconfig-i002-0912 2013-09-16-01:47:17 detecting boot state 3.11.0-09202-g325c4ef...................................... 2 16 81 133 TEST FAILURE Increasing repeat count from 1080 to 1340 [ 3.970288] tsc: Refined TSC clocksource calibration: 2666.600 MHz [ 4.160052] ------------[ cut here ]------------ [ 4.160877] WARNING: CPU: 1 PID: 9 at /c/wfg/mm/lib/list_debug.c:33 __list_add+0x6c/0xae() [ 4.162178] list_add corruption. prev->next should be next (781003c0), but was 6f965408. (prev=7818e170). [ 4.163667] Modules linked in: [ 4.164188] CPU: 1 PID: 9 Comm: rcu_sched Not tainted 3.11.0-09202-g325c4ef #330 [ 4.165347] 00000000 00000000 78067df4 7920d63b 78067e34 78067e24 79030ea2 792f2d51 [ 4.166744] 78067e50 00000009 792f2d36 00000021 79106cc2 79106cc2 7818e170 781003c0 [ 4.168149] 78067ea0 78067e3c 79030ee7 00000009 78067e34 792f2d51 78067e50 78067e68 [ 4.169548] Call Trace: [ 4.169964] [<7920d63b>] dump_stack+0x4b/0x66 [ 4.170015] [<79030ea2>] warn_slowpath_common+0x74/0x8b [ 4.170015] [<79106cc2>] ? __list_add+0x6c/0xae [ 4.170015] [<79106cc2>] ? __list_add+0x6c/0xae [ 4.170015] [<79030ee7>] warn_slowpath_fmt+0x2e/0x30 [ 4.170015] [<79106cc2>] __list_add+0x6c/0xae [ 4.170015] [<79037177>] __internal_add_timer+0x8a/0x8e [ 4.170015] [<79037189>] internal_add_timer+0xe/0x26 [ 4.170015] [<7920de46>] schedule_timeout+0x126/0x16e [ 4.170015] [<79037243>] ? cascade+0x5a/0x5a [ 4.170015] [<7907bebb>] rcu_gp_kthread+0x299/0x467 [ 4.170015] [<790460f1>] ? abort_exclusive_wait+0x63/0x63 [ 4.170015] [<7907bc22>] ? rcu_gp_fqs+0x6a/0x6a [ 4.170015] [<7904594b>] kthread+0x95/0x9a [ 4.170015] [<79040000>] ? destroy_workqueue+0x89/0x179 [ 4.170015] [<79212b3b>] ret_from_kernel_thread+0x1b/0x30 [ 4.170015] [<790458b6>] ? kthread_stop+0x4e/0x4e [ 4.170015] ---[ end trace 3edb40d5edb43e0a ]--- /kernel/i386-randconfig-i002-0912/325c4ef5c4b17372c3222d896040d7848e67fbdb/dmesg-quantal-bens-1:20130916020748:3.11.0-09202-g325c4ef:330 /kernel/i386-randconfig-i002-0912/325c4ef5c4b17372c3222d896040d7848e67fbdb/dmesg-quantal-xian-9:20130916020816:3.11.0-10105-gd01ee33:5 Bisecting: 34 revisions left to test after this (roughly 5 steps) [e76b63f80d938a1319eb5fb0ae7ea69bddfbae38] memblock, numa: binary search node id running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:e76b63f80d938a1319eb5fb0ae7ea69bddfbae38:bisect-mm 2013-09-16-02:08:20 e76b63f80d938a1319eb5fb0ae7ea69bddfbae38 compiling 207 real 1359 user 141 sys 722.68% cpu i386-randconfig-i002-0912 2013-09-16-02:12:22 detecting boot state 3.11.0-09167-ge76b63f 41 106 194 281 410 520 628 725 838 951 1053 1165 1273 1326 1333 1337 1339............. 1340 SUCCESS Bisecting: 17 revisions left to test after this (roughly 4 steps) [762216ab4e175f49d17bc7ad778c57b9028184e6] mm/vmalloc: use wrapper function get_vm_area_size to caculate size of vm area running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:762216ab4e175f49d17bc7ad778c57b9028184e6:bisect-mm 2013-09-16-02:27:53 762216ab4e175f49d17bc7ad778c57b9028184e6 compiling 192 real 1334 user 138 sys 764.98% cpu i386-randconfig-i002-0912 2013-09-16-02:31:23 detecting boot state 3.11.0-09184-g762216a. 1. 2.... 3 4 5 6 8 16 25 41 49 61 80 89 107 121 131 148 163 177 194 210 226 245 268 283 303 319 325 350 409 490 604 708 TEST FAILURE Increasing repeat count from 1340 to 3517 [ 49.512341] init: udev main process (188) terminated with status 4 [ 49.518573] BUG: Bad page map in process killall5 pte:7f622140 pmd:07605067 [ 49.519587] addr:0a000000 vm_flags:00100073 anon_vma:7f642550 mapping: (null) index:a000 [ 49.520759] CPU: 0 PID: 187 Comm: killall5 Not tainted 3.11.0-09184-g762216a #332 /kernel/i386-randconfig-i002-0912/762216ab4e175f49d17bc7ad778c57b9028184e6/dmesg-quantal-xian-11:20130916025045:3.11.0-10071-g526fd6b:115 /kernel/i386-randconfig-i002-0912/762216ab4e175f49d17bc7ad778c57b9028184e6/dmesg-quantal-ant-7:20130916025055:3.11.0-10071-g526fd6b:113 Bisecting: 8 revisions left to test after this (roughly 3 steps) [586a32ac1d33ce7a7548a27e4087e98842c3a06f] mm: munlock: remove unnecessary call to lru_add_drain() running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:586a32ac1d33ce7a7548a27e4087e98842c3a06f:bisect-mm 2013-09-16-02:51:26 586a32ac1d33ce7a7548a27e4087e98842c3a06f compiling 320 real 1340 user 139 sys 461.92% cpu i386-randconfig-i002-0912 2013-09-16-02:57:33 detecting boot state 3.11.0-09175-g586a32a 1 3 7 14 26 40 50 61 69 82 96 107 117 132 145 161 172 190 200 218 229 248 259 273 290 303 321 330 343 360 377 381 385 394 409 426 435 447 468 477 492 510 527 537 551 570 584 594 598 603 605 608 614 619 623 687 773 847 944 1056 1174 1289 1395 1516 1623 1746 1844 1949 2037 2153 2257 2373 2471 2583 2684 2780 2886 2987 3090 3175 3213 3406 3496 3500 3509 3517 SUCCESS Bisecting: 4 revisions left to test after this (roughly 2 steps) [5b40998ae35cf64561868370e6c9f3d3e94b6bf7] mm: munlock: remove redundant get_page/put_page pair on the fast path running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:5b40998ae35cf64561868370e6c9f3d3e94b6bf7:bisect-mm 2013-09-16-03:40:35 5b40998ae35cf64561868370e6c9f3d3e94b6bf7 compiling 68 real 148 user 23 sys 250.74% cpu i386-randconfig-i002-0912 2013-09-16-03:42:10 detecting boot state 3.11.0-09179-g5b40998. 9 18 36 40 48 53 58 65 77 89 99 108 125 138 150 156 170 181 205 228 250 275 297 318 347 366 397 414 436 461 479 507 525 545 574 590 619 645 668 690 694 702 716 731 760 789 805 832 862 878 904 930 965 1037 1111 1209 1311 1401 1500 1605 1708 1816 1913 2031 2135 2239 2291 2459 2561 2673 2788 2897 2993 3116 3227 3325 3417 3498 3506 3512 3516 3517 SUCCESS Bisecting: 2 revisions left to test after this (roughly 1 step) [6e543d5780e36ff5ee56c44d7e2e30db3457a7ed] mm: vmscan: fix do_try_to_free_pages() livelock running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:6e543d5780e36ff5ee56c44d7e2e30db3457a7ed:bisect-mm 2013-09-16-04:23:42 6e543d5780e36ff5ee56c44d7e2e30db3457a7ed compiling 177 real 1358 user 139 sys 843.25% cpu i386-randconfig-i002-0912 2013-09-16-04:27:03 detecting boot state 3.11.0-09181-g6e543d5................................. 1 2.............. 8 63 148 TEST FAILURE [ 3.850154] tsc: Refined TSC clocksource calibration: 2992.490 MHz [ 4.060060] ------------[ cut here ]------------ [ 4.060727] WARNING: CPU: 1 PID: 9 at /c/wfg/mm/lib/list_debug.c:33 __list_add+0x6c/0xae() [ 4.061813] list_add corruption. prev->next should be next (78100370), but was (null). (prev=78091570). [ 4.063069] Modules linked in: [ 4.063503] CPU: 1 PID: 9 Comm: rcu_sched Not tainted 3.11.0-09181-g6e543d5 #335 [ 4.064477] 00000000 00000000 78067df4 7920d3cb 78067e34 78067e24 79030ea2 792f2d71 [ 4.065650] 78067e50 00000009 792f2d56 00000021 79106a52 79106a52 78091570 78100370 [ 4.066823] 78067ea0 78067e3c 79030ee7 00000009 78067e34 792f2d71 78067e50 78067e68 [ 4.068003] Call Trace: [ 4.068347] [<7920d3cb>] dump_stack+0x4b/0x66 [ 4.068942] [<79030ea2>] warn_slowpath_common+0x74/0x8b [ 4.069651] [<79106a52>] ? __list_add+0x6c/0xae [ 4.070019] [<79106a52>] ? __list_add+0x6c/0xae [ 4.070019] [<79030ee7>] warn_slowpath_fmt+0x2e/0x30 [ 4.070019] [<79106a52>] __list_add+0x6c/0xae [ 4.070019] [<79037177>] __internal_add_timer+0x8a/0x8e [ 4.070019] [<79037189>] internal_add_timer+0xe/0x26 [ 4.070019] [<7920dbd6>] schedule_timeout+0x126/0x16e [ 4.070019] [<79037243>] ? cascade+0x5a/0x5a [ 4.070019] [<7907bebb>] rcu_gp_kthread+0x299/0x467 [ 4.070019] [<790460f1>] ? abort_exclusive_wait+0x63/0x63 [ 4.070019] [<7907bc22>] ? rcu_gp_fqs+0x6a/0x6a [ 4.070019] [<7904594b>] kthread+0x95/0x9a [ 4.070019] [<79040000>] ? destroy_workqueue+0x89/0x179 [ 4.070019] [<792128bb>] ret_from_kernel_thread+0x1b/0x30 [ 4.070019] [<790458b6>] ? kthread_stop+0x4e/0x4e [ 4.070019] ---[ end trace 7d682d9cf3a54235 ]--- /kernel/i386-randconfig-i002-0912/6e543d5780e36ff5ee56c44d7e2e30db3457a7ed/dmesg-quantal-roam-23:20130916045230:3.11.0-10071-g526fd6b:59 Bisecting: 0 revisions left to test after this (roughly 0 steps) [7a8010cd36273ff5f6fea5201ef9232f30cebbd9] mm: munlock: manual pte walk in fast path instead of follow_page_mask() running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/mm/obj-bisect ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:7a8010cd36273ff5f6fea5201ef9232f30cebbd9:bisect-mm 2013-09-16-04:53:07 7a8010cd36273ff5f6fea5201ef9232f30cebbd9 compiling 497 real 1346 user 143 sys 299.57% cpu i386-randconfig-i002-0912 2013-09-16-05:02:45 detecting boot state 3.11.0-09180-g7a8010c 69 TEST FAILURE [ 4.990214] tsc: Refined TSC clocksource calibration: 2666.603 MHz [ 5.180607] ------------[ cut here ]------------ [ 5.181428] WARNING: CPU: 1 PID: 9 at /c/wfg/mm/lib/list_debug.c:33 __list_add+0x6c/0xae() [ 5.182723] list_add corruption. prev->next should be next (781006e8), but was 701d1f88. (prev=781ac170). [ 5.184203] Modules linked in: [ 5.184721] CPU: 1 PID: 9 Comm: rcu_sched Not tainted 3.11.0-09180-g7a8010c #336 [ 5.185874] 00000000 00000000 78067df4 7920d3ab 78067e34 78067e24 79030ea2 792f2d61 [ 5.187256] 78067e50 00000009 792f2d46 00000021 79106a32 79106a32 781ac170 781006e8 [ 5.188639] 78067ea0 78067e3c 79030ee7 00000009 78067e34 792f2d61 78067e50 78067e68 [ 5.190015] Call Trace: [ 5.190015] [<7920d3ab>] dump_stack+0x4b/0x66 [ 5.190015] [<79030ea2>] warn_slowpath_common+0x74/0x8b [ 5.190015] [<79106a32>] ? __list_add+0x6c/0xae [ 5.190015] [<79106a32>] ? __list_add+0x6c/0xae [ 5.190015] [<79030ee7>] warn_slowpath_fmt+0x2e/0x30 [ 5.190015] [<79106a32>] __list_add+0x6c/0xae [ 5.190015] [<79037177>] __internal_add_timer+0x8a/0x8e [ 5.190015] [<79037189>] internal_add_timer+0xe/0x26 [ 5.190015] [<7920dbb6>] schedule_timeout+0x126/0x16e [ 5.190015] [<79037243>] ? cascade+0x5a/0x5a [ 5.190015] [<7907bebb>] rcu_gp_kthread+0x299/0x467 [ 5.190015] [<790460f1>] ? abort_exclusive_wait+0x63/0x63 [ 5.190015] [<7907bc22>] ? rcu_gp_fqs+0x6a/0x6a [ 5.190015] [<7904594b>] kthread+0x95/0x9a [ 5.190015] [<79040000>] ? destroy_workqueue+0x89/0x179 [ 5.190015] [<7921287b>] ret_from_kernel_thread+0x1b/0x30 [ 5.190015] [<790458b6>] ? kthread_stop+0x4e/0x4e [ 5.190015] ---[ end trace 5d9364fb7995571c ]--- /kernel/i386-randconfig-i002-0912/7a8010cd36273ff5f6fea5201ef9232f30cebbd9/dmesg-quantal-roam-6:20130916050251:3.11.0-10071-g526fd6b:7 7a8010cd36273ff5f6fea5201ef9232f30cebbd9 is the first bad commit commit 7a8010cd36273ff5f6fea5201ef9232f30cebbd9 Author: Vlastimil Babka Date: Wed Sep 11 14:22:35 2013 -0700 mm: munlock: manual pte walk in fast path instead of follow_page_mask() Currently munlock_vma_pages_range() calls follow_page_mask() to obtain each individual struct page. This entails repeated full page table translations and page table lock taken for each page separately. This patch avoids the costly follow_page_mask() where possible, by iterating over ptes within single pmd under single page table lock. The first pte is obtained by get_locked_pte() for non-THP page acquired by the initial follow_page_mask(). The rest of the on-stack pagevec for munlock is filled up using pte_walk as long as pte_present() and vm_normal_page() are sufficient to obtain the struct page. After this patch, a 14% speedup was measured for munlocking a 56GB large memory area with THP disabled. Signed-off-by: Vlastimil Babka Cc: Jörn Engel Cc: Mel Gorman Cc: Michel Lespinasse Cc: Hugh Dickins Cc: Rik van Riel Cc: Johannes Weiner Cc: Michal Hocko Cc: Vlastimil Babka Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds :040000 040000 1a4a0261449f59329e197a0db6ef4d302d31cba8 9d60d44fa4168be4eb77e866dd27cd6d6f259879 M include :040000 040000 e8e7523deaff565d041ce45356a444debb2c6c53 951862cab689a62cd9b880bf1692801070d736f6 M mm bisect run success ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:5b40998ae35cf64561868370e6c9f3d3e94b6bf7:bisect-mm 2013-09-16-05:03:24 5b40998ae35cf64561868370e6c9f3d3e94b6bf7 reuse /kernel/i386-randconfig-i002-0912/5b40998ae35cf64561868370e6c9f3d3e94b6bf7/vmlinuz-3.11.0-09179-g5b40998 add_to_run_queue: requested 10000, limit to 5000 2013-09-16-05:03:39 detecting boot state 30 74 92 195 241 311 371 441 519 594 658 711 774 831 879 927 973 1048 1097 1154 1194 1253 1289 1338 1395 1486 1531 1624 1684 1778 1877 1933 2015 2095 2133 2233 2301 2392 2465 2542 2616 2694 2799 2859 2879 3005 3072 3202 3286 3397 3502 3619 3708 3809 3933 4048 4140 4224 4315 4421 4479 4643 4741 4860 4958 4991 4997 5000.............................................................................................................................................................................................................................................................................................................add_to_run_queue 5000 ....... 5001............ 5002 5003.............. 5005 5006....... 5007.... 5008 5009.. 5010.......... 5011 5013.. 5014 5015 5018. 5019 5020. 5024. 5025 5026. 5029.. 5030............... 5032 5034 5036 5043 5054 5086. 5089 5122. 5223 5360 5490 5538 5561 5574 5593 5607 5619 5632 5657 5674.. 5718 5723 5741 5781. 5806 5917 6020 6075 6260 6365 6468 6601 6713 6751 6921 7018 7137 7261 7364 7492 7570 7701 7763 7885 7948 8029 8089 8187 8250 8335 8423 8452 8467 8491 8541 8563 8585 8638 8720 8789 8905 8994 9121 9201 9283 9360 9432 9581 9703 9831 9916 9982 9991 9997 9999....... 10000 SUCCESS ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:d5d04bb48f0eb89c14e76779bb46212494de0bec:bisect-mm 2013-09-16-09:42:33 d5d04bb48f0eb89c14e76779bb46212494de0bec reuse /kernel/i386-randconfig-i002-0912/d5d04bb48f0eb89c14e76779bb46212494de0bec/vmlinuz-3.11.0-09420-gd5d04bb add_to_run_queue: requested 10000, limit to 5000 2013-09-16-09:42:39 detecting boot state . 2.. 3. 4 5. 6. 7...... 8... 9.......... 10.. 11.... 12. 13. 14. 16 18 31 82 128 TEST FAILURE [ 5.006638] init: Temporary process spawn error: No space left on device [ 5.037901] ------------[ cut here ]------------ [ 5.038557] WARNING: CPU: 1 PID: 9 at lib/list_debug.c:33 __list_add+0x6c/0xae() [ 5.039820] list_add corruption. prev->next should be next (78100678), but was (null). (prev=78091570). [ 5.041103] Modules linked in: [ 5.041544] CPU: 1 PID: 9 Comm: rcu_sched Not tainted 3.11.0-09420-gd5d04bb #30 [ 5.042525] 00000000 00000000 78067df4 7920ec06 78067e34 78067e24 79030e72 792f5331 [ 5.043724] 78067e50 00000009 792f5307 00000021 79106c60 79106c60 78091570 78100678 [ 5.044923] 78067ea0 78067e3c 79030eb7 00000009 78067e34 792f5331 78067e50 78067e68 [ 5.046120] Call Trace: [ 5.046469] [<7920ec06>] dump_stack+0x4b/0x66 [ 5.047085] [<79030e72>] warn_slowpath_common+0x74/0x8b [ 5.047802] [<79106c60>] ? __list_add+0x6c/0xae [ 5.047875] [<79106c60>] ? __list_add+0x6c/0xae [ 5.047875] [<79030eb7>] warn_slowpath_fmt+0x2e/0x30 [ 5.047875] [<79106c60>] __list_add+0x6c/0xae [ 5.047875] [<79037151>] __internal_add_timer+0x8a/0x8e [ 5.047875] [<79037163>] internal_add_timer+0xe/0x26 [ 5.047875] [<7920f40e>] schedule_timeout+0x126/0x16e [ 5.047875] [<7903721d>] ? cascade+0x5a/0x5a [ 5.047875] [<7907be7c>] rcu_gp_kthread+0x299/0x467 [ 5.047875] [<790460cb>] ? abort_exclusive_wait+0x63/0x63 [ 5.047875] [<7907bbe3>] ? rcu_gp_fqs+0x6a/0x6a [ 5.047875] [<79045925>] kthread+0x95/0x9a [ 5.047875] [<79040000>] ? destroy_workqueue+0xaf/0x179 [ 5.047875] [<792140fb>] ret_from_kernel_thread+0x1b/0x30 [ 5.047875] [<79045890>] ? kthread_stop+0x4e/0x4e [ 5.047875] ---[ end trace 38ab9f60753b451d ]--- /kernel/i386-randconfig-i002-0912/d5d04bb48f0eb89c14e76779bb46212494de0bec/dmesg-quantal-xian-1:20130916100754:3.11.0-rc7-00766-g855f5f1:68 [detached HEAD 14f83d4] Revert "mm: munlock: manual pte walk in fast path instead of follow_page_mask()" 2 files changed, 37 insertions(+), 85 deletions(-) ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:14f83d4c02fa126fd699570429a0bb888e12ddf7:bisect-mm 2013-09-16-10:08:46 14f83d4c02fa126fd699570429a0bb888e12ddf7 compiling add_to_run_queue: requested 10000, limit to 5000 2013-09-16-10:15:13 detecting boot state 3.11.0-09421-g14f83d4 63 119 196 267 343 428 494 577 661 740 795 886 969 1042 1116 1190 1280 1363 1451 1523 1620 1700 1780 1849 1930 2031 2090 2178 2279 2377 2474 2558 2643 2741 2808 2891 2962 3044 3092 3155 3244 3309 3394 3470 3551 3618 3699 3800 3917 4016 4127 4242 4354 4463 4570 4685 4801 4894 4949 4993 4999...... 5000.............................................................................................................................................................................................................................................................................................................add_to_run_queue 5000 ............ 5001. 5002............. 5003...................... 5004. 5005.... 5006.. 5007. 5008....... 5009.. 5010.... 5011...... 5012.................. 5013. 5014 5015...... 5016..... 5017.. 5018. 5019..... 5020 5021. 5022......... 5024.... 5025.. 5027 5028 5039 5041 5078 5122 5191 5253 5329 5407 5468 5519 5564 5596 5619 5647. 5717 5777 5821 5865 5894 5935 5965 6051 6094 6095 6177 6245 6289 6340 6372 6424 6457 6510 6545 6582 6617 6642 6656 6666 6684 6701 6708 6717 6722 6732 6738 6740 6742 6745 6746. 6747 6748 6750 6751. 6752. 6753. 6754.. 6755 6759 6762 6765 6771 6775 6785 6788. 6805 6810 6815 6820 6825 6833 6848 6859. 6861 6873 6874 6880 6882. 6899 6930 6956 6978 6992 7002 7018 7065 7110 7164 7257 7312 7412 7506 7577 7614 7762 7822 7909 8001 8069 8145 8153 8341 8442 8551 8621 8721 8769. 9032 9139 9233 9365 9479 9600 9703 9819 9917 9963 9982 9994 9995 9996.............. 9998........................................... 9999............... 10000 SUCCESS ========= upstream ========= Fetching linus ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:d8efd82eece89f8a5790b0febf17522affe9e1f1:bisect-mm 2013-09-16-16:20:53 d8efd82eece89f8a5790b0febf17522affe9e1f1 compiling add_to_run_queue: requested 10000, limit to 5000 2013-09-16-16:26:19 detecting boot state 3.11.0-10130-gd8efd82. 1 2. 4 6 7... 11 13 20 39 44 45 TEST FAILURE [ 3.920216] tsc: Refined TSC clocksource calibration: 2659.964 MHz [ 4.100096] ------------[ cut here ]------------ [ 4.100879] WARNING: CPU: 1 PID: 9 at /c/wfg/mm/lib/list_debug.c:33 __list_add+0x6c/0xae() [ 4.102120] list_add corruption. prev->next should be next (78100388), but was (null). (prev=78091570). [ 4.103546] Modules linked in: [ 4.104042] CPU: 1 PID: 9 Comm: rcu_sched Not tainted 3.11.0-10130-gd8efd82 #338 [ 4.105154] 00000000 00000000 78067df4 7920e7ff 78067e34 78067e24 79030ef2 792f4694 [ 4.106493] 78067e50 00000009 792f4679 00000021 79108050 79108050 78091570 78100388 [ 4.107838] 78067ea0 78067e3c 79030f37 00000009 78067e34 792f4694 78067e50 78067e68 [ 4.109170] Call Trace: [ 4.109561] [<7920e7ff>] dump_stack+0x4b/0x66 [ 4.110028] [<79030ef2>] warn_slowpath_common+0x74/0x8b [ 4.110028] [<79108050>] ? __list_add+0x6c/0xae [ 4.110028] [<79108050>] ? __list_add+0x6c/0xae [ 4.110028] [<79030f37>] warn_slowpath_fmt+0x2e/0x30 [ 4.110028] [<79108050>] __list_add+0x6c/0xae [ 4.110028] [<790371d1>] __internal_add_timer+0x8a/0x8e [ 4.110028] [<790371e3>] internal_add_timer+0xe/0x26 [ 4.110028] [<7920f006>] schedule_timeout+0x126/0x16e [ 4.110028] [<7903729d>] ? cascade+0x5a/0x5a [ 4.110028] [<7907bf33>] rcu_gp_kthread+0x299/0x467 [ 4.110028] [<7904614b>] ? abort_exclusive_wait+0x63/0x63 [ 4.110028] [<7907bc9a>] ? rcu_gp_fqs+0x6a/0x6a [ 4.110028] [<790459a5>] kthread+0x95/0x9a [ 4.110028] [<79040000>] ? destroy_workqueue+0x2f/0x179 [ 4.110028] [<79213cfb>] ret_from_kernel_thread+0x1b/0x30 [ 4.110028] [<79045910>] ? kthread_stop+0x4e/0x4e [ 4.110028] ---[ end trace 39c94b6204cdca93 ]--- /kernel/i386-randconfig-i002-0912/d8efd82eece89f8a5790b0febf17522affe9e1f1/dmesg-yocto-roam-28:20130916163347:3.11.0-00022-g4b2c8c4:98 /kernel/i386-randconfig-i002-0912/d8efd82eece89f8a5790b0febf17522affe9e1f1/dmesg-yocto-lkp-tt02-16:20130916065242:3.11.0-10137-gc897570:110 ========= linux-next ========= Fetching next ls -a /kernel-tests/run-queue/kvm/i386-randconfig-i002-0912/linus:master:ade7b661ae9a2efac4cd2ed36d8053bfcb13bc31:bisect-mm 2013-09-16-16:34:37 ade7b661ae9a2efac4cd2ed36d8053bfcb13bc31 compiling 2013-09-16-16:37:16 ade7b661ae9a2efac4cd2ed36d8053bfcb13bc31 SKIP BROKEN BUILD Check erros in /cc/wfg/mm-bisect and /tmp/kernel/i386-randconfig-i002-0912/ade7b661ae9a2efac4cd2ed36d8053bfcb13bc31