Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760732Ab1D1SuU (ORCPT ); Thu, 28 Apr 2011 14:50:20 -0400 Received: from www.linutronix.de ([62.245.132.108]:44344 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754282Ab1D1SuS (ORCPT ); Thu, 28 Apr 2011 14:50:18 -0400 Date: Thu, 28 Apr 2011 20:49:42 +0200 (CEST) From: Thomas Gleixner To: sedat.dilek@gmail.com cc: Mike Galbraith , "Paul E. McKenney" , =?ISO-8859-15?Q?Bruno_Pr=E9mont?= , Linus Torvalds , Ingo Molnar , Peter Zijlstra , Mike Frysinger , KOSAKI Motohiro , LKML , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, "Paul E. McKenney" , Pekka Enberg Subject: Re: 2.6.39-rc4+: Kernel leaking memory during FS scanning, regression? In-Reply-To: Message-ID: References: <20110426112756.GF4308@linux.vnet.ibm.com> <20110426183859.6ff6279b@neptune.home> <20110426190918.01660ccf@neptune.home> <20110427081501.5ba28155@pluto.restena.lu> <20110427204139.1b0ea23b@neptune.home> <20110428102609.GJ2135@linux.vnet.ibm.com> <1303997401.7819.5.camel@marge.simson.net> User-Agent: Alpine 2.02 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1040 Lines: 36 On Thu, 28 Apr 2011, Sedat Dilek wrote: > On Thu, Apr 28, 2011 at 3:30 PM, Mike Galbraith wrote: > rt_rq[0]: > .rt_nr_running : 0 > .rt_throttled : 0 > .rt_time : 888.893877 > .rt_time : 950.005460 So rt_time is constantly accumulated, but never decreased. The decrease happens in the timer callback. Looks like the timer is not running for whatever reason. Can you add the following patch as well ? Thanks, tglx --- linux-2.6.orig/kernel/sched.c +++ linux-2.6/kernel/sched.c @@ -172,7 +172,7 @@ static enum hrtimer_restart sched_rt_per idle = do_sched_rt_period_timer(rt_b, overrun); } - return idle ? HRTIMER_NORESTART : HRTIMER_RESTART; + return HRTIMER_RESTART; } static -- 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/