Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755464Ab0FJGxG (ORCPT ); Thu, 10 Jun 2010 02:53:06 -0400 Received: from casper.infradead.org ([85.118.1.10]:51813 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752227Ab0FJGxE convert rfc822-to-8bit (ORCPT ); Thu, 10 Jun 2010 02:53:04 -0400 Subject: Re: [PATCH 00/28] mm: preemptibility -v3 From: Peter Zijlstra To: "Zhang, Yanmin" Cc: Andrea Arcangeli , Avi Kivity , Thomas Gleixner , Rik van Riel , Ingo Molnar , akpm@linux-foundation.org, Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Benjamin Herrenschmidt , David Miller , Hugh Dickins , Mel Gorman , Nick Piggin , "Paul E. McKenney" In-Reply-To: <1276134311.2096.438.camel@ymzhang.sh.intel.com> References: <20100607110654.606530953@chello.nl> <1276134311.2096.438.camel@ymzhang.sh.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Thu, 10 Jun 2010 08:52:30 +0200 Message-ID: <1276152750.2046.2485.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3257 Lines: 63 On Thu, 2010-06-10 at 09:45 +0800, Zhang, Yanmin wrote: > On Mon, 2010-06-07 at 13:06 +0200, Peter Zijlstra wrote: > > This patch-set makes part of the mm a lot more preemptible. It converts > > i_mmap_lock and anon_vma->lock to mutexes and makes mmu_gather fully > > preemptible. > I applied it against 2.6.35-rc2 on x86_64 machine, but kernel booting panic. > > Pid: 1, comm: init Not tainted 2.6.35-rc2-petermm #1 X7DW3/X7DW3 > RIP: 0010:[] [] mutex_unlock > +0x0/0x13 > RSP: 0018:ffff88022fc61a78 EFLAGS: 00010206 > RAX: 0000000000000000 RBX: ffff88022ebd5780 RCX: 0000000000000020 > RDX: 0000000000000000 RSI: 0000000000100173 RDI: 8000000000000025 > RBP: 0000000000000020 R08: 00007fffffffe000 R09: 0000000000000001 > R10: 0000000000000002 R11: ffffffff8128c275 R12: ffff88022e76b000 > R13: 0000000000021000 R14: ffff88022fc68000 R15: 00007fff4c0e6000 > FS: 0000000000000000(0000) GS:ffff8800021c0000(0000) > knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > CR2: 0000000000000000 CR3: 000000022e76c000 CR4: 00000000000006e0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 > Process init (pid: 1, threadinfo ffff88022fc60000, task > ffff88022fc58000) > Stack: > ffffffff810aabac 00000000ffffefff 0000000000000000 00007fff4c107000 > <0> ffff88022e76b000 00007fffffffe000 00007ffffffff000 00007fff4c106000 > <0> ffffffff810c5e5a ffff88022ebd5780 ffff88022ebd5780 ffff88022ebd5780 > Call Trace: > [] ? expand_downwards+0x149/0x15a > [] ? setup_arg_pages+0x333/0x361 > [] ? inode_permission+0x76/0x95 > [] ? load_elf_binary+0x0/0x16c9 > [] ? load_elf_binary+0x465/0x16c9 > [] ? get_arg_page+0x4b/0xa4 > [] ? load_elf_binary+0x0/0x16c9 > [] ? search_binary_handler+0xd4/0x26f > [] ? load_script+0x0/0x1e4 > [] ? load_script+0x1ce/0x1e4 > [] ? get_arg_page+0x4b/0xa4 > [] ? search_binary_handler+0xd4/0x26f > [] ? do_execve+0x1e5/0x2b6 > [] ? sys_execve+0x35/0x53 > [] ? kernel_execve+0x68/0xd0 > [] ? init_post+0x5a/0xd4 > [] ? kernel_init+0x1e5/0x1ec > [] ? kernel_thread_helper+0x4/0x10 > [] ? kernel_init+0x0/0x1ec > [] ? kernel_thread_helper+0x0/0x10 > Code: 1c 24 44 89 64 24 08 48 c7 44 24 20 07 fd 04 81 48 89 44 24 28 48 > 89 44 24 30 e8 26 ff ff ff 48 83 c4 48 5b 41 5c 41 5d 41 5e c3 <48> c7 > 47 18 00 00 00 00 f0 ff 07 7f 05 e8 01 00 00 00 c3 53 48 > RIP [] mutex_unlock+0x0/0x13 > RSP > ---[ end trace dc724d36e0cd4a32 ]--- Oi, that's no good. Happen to have your .config handy, I didn't actually see my machine do that. -- 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/