From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id 09DE26B0088 for ; Fri, 7 Jan 2011 08:02:43 -0500 (EST) Received: by iwn40 with SMTP id 40so18057831iwn.14 for ; Fri, 07 Jan 2011 05:02:35 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20101122154754.e022d935.akpm@linux-foundation.org> <20101129152500.000c380b.akpm@linux-foundation.org> Date: Fri, 7 Jan 2011 14:02:34 +0100 Message-ID: Subject: Re: kernel BUG at /build/buildd/linux-2.6.35/mm/filemap.c:128! From: =?UTF-8?B?Um9iZXJ0IMWad2nEmWNraQ==?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org To: Hugh Dickins Cc: Miklos Szeredi , Andrew Morton , Nick Piggin , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: but will be happy if someone else beats me to it. >> >> I have since found an omission in the restart_addr logic: looking back >> at the October 2004 history of vm_truncate_count, I see that originally >> I designed it to work one way, but hurriedly added a 7/6 redesign when >> vma splitting turned out to leave an ambiguity. =C2=A0I should have upda= ted >> the protection in mremap move at that time, but missed it. >> >> Robert, please try out the patch below (should apply fine to 2.6.35): > > In the beginning =C2=A0of Jan (3-4) at earliest I'm afraid, i.e. when I > manage to get to my console-over-rs232 setup. I cannot reproduce it even with the unpatched kernel, cause I get the following oops (3 times out of 3 tries) relatively quickly. Still trying. Entering kdb (current=3D0xffff88006b525ac0, pid 12468) on processor 1 Oops:= (null) due to oops @ 0xffffffff810c2a1b CPU 1 Pid: 12468, comm: iknowthis Not tainted 2.6.37-rc2 #1 0GH911/Precision WorkStation 390 RIP: 0010:[] [] next_pidmap+0x4b/0x= a0 RSP: 0000:ffff88006bc6fd78 EFLAGS: 00010206 RAX: 001ffffffffd2010 RBX: 001fffff829eee38 RCX: 0000000000000034 RDX: 0000000000001bd7 RSI: 00000000e9009bd6 RDI: ffffffff82a1ce20 RBP: ffff88006bc6fd98 R08: c000000000000000 R09: 4fb0000000000000 R10: 7d80000000000000 R11: 0000000000000000 R12: ffffffff82a1d628 R13: ffffffff82a1ce20 R14: ffff880123768000 R15: ffffffff811d98e0 FS: 0000000000000000(0000) GS:ffff8800cfc40000(0063) knlGS:00000000f74a= a6c0 CS: 0010 DS: 002b ES: 002b CR0: 000000008005003b CR2: 000000000808865c CR3: 000000011b1a4000 CR4: 00000000000006e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process iknowthis (pid: 12468, threadinfo ffff88006bc6e000, task ffff88006b525ac0) <0>Stack: ffff88006bc6fe78 00000000e9009bd6 0000000000000000 ffffffff82a1ce20 ffff88006bc6fdc8 ffffffff810c2aac ffff880018cfc410 ffffffff82a1ce20 00000000e9009bd6 ffffffff811d98e0 ffff88006bc6fe28 ffffffff811f3dab <0>Call Trace: [1]more> Only 'q' or 'Q' are processed at more prompt, input ignored <0> [] find_ge_pid+0x3c/0x50 <0> [] ? compat_fillonedir+0x0/0xe0 <0> [] next_tgid+0x3b/0xc0 <0> [] ? compat_fillonedir+0x0/0xe0 <0> [] proc_pid_readdir+0x13c/0x1d0 <0> [] ? compat_fillonedir+0x0/0xe0 <0> [] proc_root_readdir+0x4a/0x60 <0> [] ? compat_fillonedir+0x0/0xe0 <0> [] vfs_readdir+0xc0/0xe0 <0> [] compat_sys_old_readdir+0x45/0x70 <0> [] ia32_sysret+0x0/0x5 <0>Code: 89 fd 48 c1 e8 0f 48 c1 e0 04 48 8d 5c 07 08 4c 39 e3 73 54 81 e2 ff 7f 00 00 eb 0f eb 02 90 90 48 83 c3 10 31 d2 49 39 dc 76 3d <48> 8b 7b 08 48 85 ff 74 ec 48 63 d2 be 00 80 00 00 e8 6f a4 41 Call Trace: [] find_ge_pid+0x3c/0x50 [] ? compat_fillonedir+0x0/0xe0 [] next_tgid+0x3b/0xc0 [] ? compat_fillonedir+0x0/0xe0 [] proc_pid_readdir+0x13c/0x1d0 [] ? compat_fillonedir+0x0/0xe0 [] proc_root_readdir+0x4a/0x60 [] ? compat_fillonedir+0x0/0xe0 [] vfs_readdir+0xc0/0xe0 [1]more> Only 'q' or 'Q' are processed at more prompt, input ignored [] compat_sys_old_readdir+0x45/0x70 [] ia32_sysret+0x0/0x5 --=20 Robert =C5=9Awi=C4=99cki -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org