From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sedat Dilek Subject: Re: 2.6.39-rc4+: Kernel leaking memory during FS scanning, regression? Date: Thu, 28 Apr 2011 11:17:48 +0200 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> Reply-To: sedat.dilek@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: =?UTF-8?Q?Bruno_Pr=C3=A9mont?= , 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 To: Thomas Gleixner Return-path: In-Reply-To: Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Apr 28, 2011 at 11:09 AM, Thomas Gleixner wrot= e: > Bruno, > > On Thu, 28 Apr 2011, Thomas Gleixner wrote: >> On Wed, 27 Apr 2011, Bruno Pr=C3=A9mont 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, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0tglx > > --- > =C2=A0kernel/sched.c | =C2=A0 =C2=A03 --- > =C2=A01 file changed, 3 deletions(-) > > Index: linux-2.6/kernel/sched.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- 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 > =C2=A0{ > =C2=A0 =C2=A0 =C2=A0 =C2=A0s64 delta; > > - =C2=A0 =C2=A0 =C2=A0 if (rq->skip_clock_update) > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return; > - > =C2=A0 =C2=A0 =C2=A0 =C2=A0delta =3D sched_clock_cpu(cpu_of(rq)) - rq->cl= ock; > =C2=A0 =C2=A0 =C2=A0 =C2=A0rq->clock +=3D delta; > =C2=A0 =C2=A0 =C2=A0 =C2=A0update_rq_clock_task(rq, delta); Referring to [1]? - Sedat - [1] http://lkml.org/lkml/2011/4/22/35 -- 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