From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with ESMTP id 24E646B0011 for ; Thu, 28 Apr 2011 05:09:33 -0400 (EDT) Date: Thu, 28 Apr 2011 11:09:18 +0200 (CEST) From: Thomas Gleixner Subject: Re: 2.6.39-rc4+: Kernel leaking memory during FS scanning, regression? In-Reply-To: Message-ID: References: <20110425180450.1ede0845@neptune.home> <20110425190032.7904c95d@neptune.home> <20110425203606.4e78246c@neptune.home> <20110425191607.GL2468@linux.vnet.ibm.com> <20110425231016.34b4293e@neptune.home> <20110425214933.GO2468@linux.vnet.ibm.com> <20110426081904.0d2b1494@pluto.restena.lu> <20110426112756.GF4308@linux.vnet.ibm.com> <20110426183859.6ff6279b@neptune.home> <20110426190918.01660ccf@neptune.home> <20110427081501.5ba28155@pluto.restena.lu> <20110427204139.1b0ea23b@neptune.home> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-2055605702-1303981759=:19095" Sender: owner-linux-mm@kvack.org List-ID: To: =?ISO-8859-15?Q?Bruno_Pr=E9mont?= Cc: Linus Torvalds , Ingo Molnar , Peter Zijlstra , "Paul E. McKenney" , Mike Frysinger , KOSAKI Motohiro , LKML , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, "Paul E. McKenney" , Pekka Enberg , Mike Galbraith This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-2055605702-1303981759=:19095 Content-Type: TEXT/PLAIN; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT Bruno, On Thu, 28 Apr 2011, Thomas Gleixner wrote: > On Wed, 27 Apr 2011, Bruno Premont wrote: > I need some sleep now, but I will try to come up with sensible > debugging tomorrow unless Paul or someone else beats me to it. can you please add the patch below and provide the /proc/sched_debug output when the problem shows up again? Thanks, tglx --- kernel/sched.c | 3 --- 1 file changed, 3 deletions(-) Index: linux-2.6/kernel/sched.c =================================================================== --- linux-2.6.orig/kernel/sched.c +++ linux-2.6/kernel/sched.c @@ -642,9 +642,6 @@ static void update_rq_clock(struct rq *r { s64 delta; - if (rq->skip_clock_update) - return; - delta = sched_clock_cpu(cpu_of(rq)) - rq->clock; rq->clock += delta; update_rq_clock_task(rq, delta); --8323328-2055605702-1303981759=:19095-- -- 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 internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org