Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759433Ab2JKWOP (ORCPT ); Thu, 11 Oct 2012 18:14:15 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46467 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753486Ab2JKWOO (ORCPT ); Thu, 11 Oct 2012 18:14:14 -0400 Date: Thu, 11 Oct 2012 15:14:13 -0700 From: Andrew Morton To: Jiri Slaby Cc: linux-mm@kvack.org, LKML , Jiri Slaby Subject: Re: kswapd0: wxcessive CPU usage Message-Id: <20121011151413.3ab58542.akpm@linux-foundation.org> In-Reply-To: <507688CC.9000104@suse.cz> References: <507688CC.9000104@suse.cz> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1381 Lines: 29 On Thu, 11 Oct 2012 10:52:28 +0200 Jiri Slaby wrote: > with 3.6.0-next-20121008, kswapd0 is spinning my CPU at 100% for 1 > minute or so. If I try to suspend to RAM, this trace appears: > kswapd0 R running task 0 577 2 0x00000000 > 0000000000000000 00000000000000c0 cccccccccccccccd ffff8801c4146800 > ffff8801c4b15c88 ffffffff8116ee05 0000000000003e32 ffff8801c3a79000 > ffff8801c4b15ca8 ffffffff8116fdf8 ffff8801c480f398 ffff8801c3a79000 > Call Trace: > [] ? put_super+0x25/0x40 > [] ? grab_super_passive+0x24/0xa0 > [] ? prune_super+0x149/0x1b0 > [] ? shrink_slab+0xa1/0x2d0 > [] ? kswapd+0x66d/0xb60 > [] ? try_to_free_pages+0x180/0x180 > [] ? kthread+0xc0/0xd0 > [] ? kthread_create_on_node+0x130/0x130 > [] ? ret_from_fork+0x7c/0x90 > [] ? kthread_create_on_node+0x130/0x130 Could you please do a sysrq-T a few times while it's spinning, to confirm that this trace is consistently the culprit? -- 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/