From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752520AbZGCJM3 (ORCPT ); Fri, 3 Jul 2009 05:12:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754573AbZGCJMO (ORCPT ); Fri, 3 Jul 2009 05:12:14 -0400 Received: from mail-qy0-f193.google.com ([209.85.221.193]:34264 "EHLO mail-qy0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754983AbZGCJMM convert rfc822-to-8bit (ORCPT ); Fri, 3 Jul 2009 05:12:12 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=u98xcCKT0207NkRdfJ3fCWXU7J5xAuwlH7/oF5O7Mvi1Se8dlEAuPqbP7bGhiHoWJX 6P+5ROM5PFobV64yVF5zVLFHc+HBbKqwiqR7/k8w0R/PnyFwmJX9Ei5qZccrx+dPvBRu AjdIL5oHXirUhdZPrt03pPLDsnc63L7OfN0xQ= MIME-Version: 1.0 In-Reply-To: <20090703173934.dc278fda.kamezawa.hiroyu@jp.fujitsu.com> References: <4A4DBF16.1020509@gmail.com> <20090703173934.dc278fda.kamezawa.hiroyu@jp.fujitsu.com> Date: Fri, 3 Jul 2009 18:12:13 +0900 Message-ID: <28c262360907030212h5bd5457u842a8d805249583a@mail.gmail.com> Subject: Re: BUG at mm/vmscan.c:904 [mmotm 2009-07-02-19-57] From: Minchan Kim To: KAMEZAWA Hiroyuki Cc: Jiri Slaby , Andrew Morton , Linux kernel mailing list , linux-mm@kvack.org, "kosaki.motohiro@jp.fujitsu.com" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, kame. Andrew already reverted it. It's totally my fault. I'll fix it on tomorrow. Thanks for notifying me. :) On Fri, Jul 3, 2009 at 5:39 PM, KAMEZAWA Hiroyuki wrote: > On Fri, 03 Jul 2009 10:19:34 +0200 > Jiri Slaby wrote: > >> Hi, >> >> I don't know what exactly lead to this, but I got it when installing a >> kernel rpm (io load) in qemu: >> > IIUC.... > > plz revert this. > >  vmscan-dont-attempt-to-reclaim-anon-page-in-lumpy-reclaim-when-no-swap-space-is-available.patch > > or rewrite as following. > == > +       if (nr_swap_pages <= 0 && (PageAnon(page) && !PageSwapCache(page))) > +               return -EBUSY; > + > == > > CCed to Minchan and Kosaki. > > Regards, > -Kame > > > >> ------------[ cut here ]------------ >> kernel BUG at mm/vmscan.c:904! >> invalid opcode: 0000 [#1] PREEMPT SMP >> last sysfs file: /sys/devices/pci0000:00/0000:00:05.0/modalias >> CPU 0 >> Modules linked in: e1000 >> Pid: 290, comm: kswapd0 Tainted: G       AW  2.6.31-rc1-mm1 #103 >> RIP: 0010:[]  [] >> isolate_pages_global+0x196/0x260 >> RSP: 0018:ffff880011943c40  EFLAGS: 00010082 >> RAX: 00000000ffffffea RBX: ffffea0000050170 RCX: 0000000000000001 >> RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffea0000050170 >> RBP: ffff880011943cd0 R08: 0000000000000001 R09: ffffffff81668b00 >> R10: 00000000ffffffff R11: 0000000000000001 R12: ffffffff81669060 >> R13: ffffea0000050198 R14: ffff880011943d50 R15: ffffffff81668b00 >> FS:  0000000000000000(0000) GS:ffff88000176f000(0000) knlGS:0000000000000000 >> CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b >> CR2: 00007f5d32981000 CR3: 0000000011adb000 CR4: 00000000000006f0 >> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 >> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 >> Process kswapd0 (pid: 290, threadinfo ffff880011942000, task >> ffff88001254c840) >> Stack: >>  ffff880011943d68 0000000000000020 0000000000000030 000000020177f4b0 >> <0> 0000000000000003 000000008103329b 0000000000000001 ffffffffffffffff >> <0> 0000000100000003 0000000000000000 0000000000000000 0000000000000000 >> Call Trace: >>  [] shrink_active_list+0xa6/0x330 >>  [] ? task_rq_lock+0x48/0x90 >>  [] ? kswapd+0x0/0x770 >>  [] kswapd+0x4f5/0x770 >>  [] ? pick_next_task_fair+0xd7/0xf0 >>  [] ? kswapd+0x0/0x770 >>  [] ? isolate_pages_global+0x0/0x260 >>  [] ? default_wake_function+0xd/0x10 >>  [] ? autoremove_wake_function+0x0/0x40 >>  [] ? preempt_schedule+0x38/0x60 >>  [] ? _spin_unlock_irqrestore+0x30/0x40 >>  [] ? kswapd+0x0/0x770 >>  [] kthread+0x96/0xa0 >>  [] child_rip+0xa/0x20 >>  [] ? kthread+0x0/0xa0 >>  [] ? child_rip+0x0/0x20 >> Code: 80 75 12 8b 55 bc 8b 75 b4 4c 89 ef e8 f4 f9 ff ff 85 c0 74 79 49 >> ff c7 49 83 c5 38 4c 39 7d 98 77 cf 48 ff 45 c8 e9 e9 fe ff ff <0f> 0b >> eb fe 48 8b 53 30 48 8b 4b 28 48 8d 43 28 48 89 51 08 48 >> RIP  [] isolate_pages_global+0x196/0x260 >>  RSP >> ---[ end trace fc1de39f3465335f ]--- >> note: kswapd0[290] exited with preempt_count 1 >> >> -- >> 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/ . >> Don't email: email@kvack.org >> > > -- Kind regards, Minchan Kim