Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751969Ab0DKNQa (ORCPT ); Sun, 11 Apr 2010 09:16:30 -0400 Received: from mail.skyhub.de ([78.46.96.112]:38317 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751812Ab0DKNQ2 (ORCPT ); Sun, 11 Apr 2010 09:16:28 -0400 Date: Sun, 11 Apr 2010 15:08:01 +0200 From: Borislav Petkov To: Linus Torvalds Cc: Johannes Weiner , KOSAKI Motohiro , Rik van Riel , Andrew Morton , Minchan Kim , Linux Kernel Mailing List , Lee Schermerhorn , Nick Piggin , Andrea Arcangeli , Hugh Dickins , sgunderson@bigfoot.com Subject: Re: [PATCH -v2] rmap: make anon_vma_prepare link in all the anon_vmas of a mergeable VMA Message-ID: <20100411130801.GA7189@a1.tnic> Mail-Followup-To: Borislav Petkov , Linus Torvalds , Johannes Weiner , KOSAKI Motohiro , Rik van Riel , Andrew Morton , Minchan Kim , Linux Kernel Mailing List , Lee Schermerhorn , Nick Piggin , Andrea Arcangeli , Hugh Dickins , sgunderson@bigfoot.com References: <20100410185145.GB28952@a1.tnic> <20100410185839.GA32035@a1.tnic> <20100410203628.GB32035@a1.tnic> <20100410212555.GA1797@a1.tnic> <20100410215115.GA2599@a1.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20100410215115.GA2599@a1.tnic> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9174 Lines: 140 From: Borislav Petkov Date: Sat, Apr 10, 2010 at 11:51:15PM +0200 > > Damn, I really hoped that was it. Three independent bugs found and fixed, > > and still no joy? Oh well. > > Yep, I'll redo the testing tomorrow, so that we are sure that even with > the _three_ bugs fixed we still hit the funky list element issue. Ok, I could verify that the three patches we were talking about still can't fix the issue. However, just to make sure I'm sending the versions of the patches I used for you guys to check. [ 529.667108] PM: Preallocating image memory... [ 529.930881] BUG: unable to handle kernel NULL pointer dereference at (null) [ 529.931275] IP: [] page_referenced+0xee/0x1dc [ 529.931377] PGD 22e33d067 PUD 22ddc1067 PMD 0 [ 529.931377] Oops: 0000 [#1] PREEMPT SMP [ 529.931377] last sysfs file: /sys/power/state [ 529.931377] CPU 3 [ 529.931377] Modules linked in: powernow_k8 cpufreq_ondemand cpufreq_powersave cpufreq_userspace freq_table cpufreq_conservative binfmt_misc kvm_amd kvm ipv6 vfat fat dm_crypt dm_mod 8250_pnp 8250 ohci_hcd edac_core serial_core pcspkr k10temp [ 529.931377] [ 529.931377] Pid: 3354, comm: hib.sh Tainted: G W 2.6.34-rc3-00503-g0fcc334 #1 M3A78 PRO/System Product Name [ 529.931377] RIP: 0010:[] [] page_referenced+0xee/0x1dc [ 529.931377] RSP: 0018:ffff880105a118b8 EFLAGS: 00010283 [ 529.931377] RAX: ffff88022dc896c8 RBX: ffffea0007a15e10 RCX: 0000000000000000 [ 529.931377] RDX: ffff880105a11cf8 RSI: ffff88022dc896a0 RDI: ffff88022b760000 [ 529.931377] RBP: ffff880105a11938 R08: 0000000000000002 R09: 0000000000000000 [ 529.931377] R10: 0000000000000000 R11: ffffffff00000012 R12: 0000000000000000 [ 529.931377] R13: ffffffffffffffe0 R14: ffff88022dc89688 R15: ffff880105a11a00 [ 529.931377] FS: 00007f21045876f0(0000) GS:ffff88000a600000(0000) knlGS:0000000000000000 [ 529.931377] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 529.931377] CR2: 0000000000000000 CR3: 000000022b33f000 CR4: 00000000000006e0 [ 529.931377] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 529.931377] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 529.931377] Process hib.sh (pid: 3354, threadinfo ffff880105a10000, task ffff88022b760000) [ 529.931377] Stack: [ 529.931377] ffff88022dc896c8 00000000810b0082 0000000000000000 0000000000000000 [ 529.931377] <0> 0000000000000000 0000000000000000 0000000000000000 0000000000000020 [ 529.931377] <0> 0000000000000000 0000000200000000 7fffffffffffffff ffffea0007a15e38 [ 529.931377] Call Trace: [ 529.931377] [] shrink_page_list+0x154/0x4c7 [ 529.931377] [] ? print_lock_contention_bug+0x1b/0xe1 [ 529.931377] [] ? isolate_pages_global+0xd0/0x1fc [ 529.931377] [] ? _raw_spin_unlock_irq+0x30/0x58 [ 529.931377] [] shrink_inactive_list+0x35b/0x60c [ 529.931377] [] ? shrink_active_list+0x232/0x244 [ 529.931377] [] shrink_zone+0x30c/0x3d6 [ 529.931377] [] do_try_to_free_pages+0x191/0x29a [ 529.931377] [] shrink_all_memory+0x95/0xc4 [ 529.931377] [] ? memory_bm_test_bit+0x1/0x30 [ 529.931377] [] ? isolate_pages_global+0x0/0x1fc [ 529.931377] [] ? count_data_pages+0x65/0x79 [ 529.931377] [] hibernate_preallocate_memory+0x1aa/0x2cb [ 529.931377] [] ? printk+0x41/0x45 [ 529.931377] [] hibernation_snapshot+0x36/0x1e1 [ 529.931377] [] hibernate+0xce/0x172 [ 529.931377] [] state_store+0x5c/0xd3 [ 529.931377] [] kobj_attr_store+0x17/0x19 [ 529.931377] [] sysfs_write_file+0x108/0x144 [ 529.931377] [] vfs_write+0xb2/0x153 [ 529.931377] [] ? trace_hardirqs_on_caller+0x1f/0x14b [ 529.931377] [] sys_write+0x4a/0x71 [ 529.931377] [] system_call_fastpath+0x16/0x1b [ 529.931377] Code: 3b 56 10 73 1e 48 83 fa f2 74 18 48 8d 4d cc 4d 89 f8 48 89 df e8 11 f2 ff ff 41 01 c4 83 7d cc 00 74 19 4d 8b 6d 20 49 83 ed 20 <49> 8b 45 20 0f 18 08 49 8d 45 20 48 39 45 80 75 aa 4c 89 f7 e8 [ 529.931377] RIP [] page_referenced+0xee/0x1dc [ 529.931377] RSP [ 529.931377] CR2: 0000000000000000 [ 529.945250] ---[ end trace caa5471c993e6461 ]--- [ 529.945558] note: hib.sh[3354] exited with preempt_count 2 [ 529.945710] BUG: scheduling while atomic: hib.sh/3354/0x10000003 [ 529.945858] INFO: lockdep is turned off. [ 529.946005] Modules linked in: powernow_k8 cpufreq_ondemand cpufreq_powersave cpufreq_userspace freq_table cpufreq_conservative binfmt_misc kvm_amd kvm ipv6 vfat fat dm_crypt dm_mod 8250_pnp 8250 ohci_hcd edac_core serial_core pcspkr k10temp [ 529.947595] Pid: 3354, comm: hib.sh Tainted: G D W 2.6.34-rc3-00503-g0fcc334 #1 [ 529.947848] Call Trace: [ 529.947993] [] ? __debug_show_held_locks+0x1b/0x24 [ 529.948147] [] __schedule_bug+0x72/0x77 [ 529.948296] [] schedule+0xe3/0x7ff [ 529.948449] [] ? unmap_vmas+0x90c/0x911 [ 529.948599] [] __cond_resched+0x18/0x24 [ 529.948748] [] _cond_resched+0x2c/0x37 [ 529.948896] [] unmap_vmas+0x719/0x911 [ 529.949049] [] ? _raw_spin_lock_irqsave+0x1e/0x85 [ 529.949199] [] ? up+0x14/0x3e [ 529.949347] [] exit_mmap+0x102/0x1e4 [ 529.949639] [] ? exit_mmap+0x69/0x1e4 [ 529.949787] [] mmput+0x48/0xb9 [ 529.949935] [] exit_mm+0x110/0x11d [ 529.950087] [] do_exit+0x1c5/0x6e5 [ 529.950236] [] ? kmsg_dump+0x13b/0x155 [ 529.950525] [] ? oops_end+0x47/0x93 [ 529.950671] [] oops_end+0x8e/0x93 [ 529.950819] [] no_context+0x1fc/0x20b [ 529.950967] [] __bad_area_nosemaphore+0x18c/0x1af [ 529.951120] [] ? do_page_fault+0xa8/0x32d [ 529.951276] [] bad_area_nosemaphore+0x13/0x15 [ 529.951572] [] do_page_fault+0x173/0x32d [ 529.951719] [] ? error_sti+0x5/0x6 [ 529.951867] [] ? trace_hardirqs_off_caller+0x1f/0xa9 [ 529.952018] [] ? trace_hardirqs_off_thunk+0x3a/0x3c [ 529.952170] [] page_fault+0x1f/0x30 [ 529.952319] [] ? page_referenced+0xee/0x1dc [ 529.952615] [] ? page_referenced+0x80/0x1dc [ 529.952762] [] shrink_page_list+0x154/0x4c7 [ 529.952911] [] ? print_lock_contention_bug+0x1b/0xe1 [ 529.953065] [] ? isolate_pages_global+0xd0/0x1fc [ 529.953214] [] ? _raw_spin_unlock_irq+0x30/0x58 [ 529.953363] [] shrink_inactive_list+0x35b/0x60c [ 529.953627] [] ? shrink_active_list+0x232/0x244 [ 529.953775] [] shrink_zone+0x30c/0x3d6 [ 529.953924] [] do_try_to_free_pages+0x191/0x29a [ 529.954077] [] shrink_all_memory+0x95/0xc4 [ 529.954226] [] ? memory_bm_test_bit+0x1/0x30 [ 529.954486] [] ? isolate_pages_global+0x0/0x1fc [ 529.954632] [] ? count_data_pages+0x65/0x79 [ 529.954782] [] hibernate_preallocate_memory+0x1aa/0x2cb [ 529.954931] [] ? printk+0x41/0x45 [ 529.955083] [] hibernation_snapshot+0x36/0x1e1 [ 529.955233] [] hibernate+0xce/0x172 [ 529.955457] [] state_store+0x5c/0xd3 [ 529.955604] [] kobj_attr_store+0x17/0x19 [ 529.955752] [] sysfs_write_file+0x108/0x144 [ 529.955900] [] vfs_write+0xb2/0x153 [ 529.956053] [] ? trace_hardirqs_on_caller+0x1f/0x14b [ 529.956202] [] sys_write+0x4a/0x71 [ 529.956351] [] system_call_fastpath+0x16/0x1b [ 537.634362] SysRq : HELP : loglevel(0-9) reBoot Crash show-all-locks(D) terminate-all-tasks(E) memory-full-oom-kill(F) kill-all-tasks(I) thaw-filesystems(J) saK show-backtrace-all-active-cpus(L) show-memory-usage(M) nice-all-RT-tasks(N) powerOff show-registers(P) show-all-timers(Q) unRaw Sync show-task-states(T) Unmount show-blocked-tasks(W) dump-ftrace-buffer(Z) [ 538.129750] SysRq : Emergency Sync [ 538.130161] Emergency Sync complete [ 538.902386] SysRq : Emergency Remount R/O [ 539.328830] SysRq : Resetting -- Regards/Gruss, Boris. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/