From: Thomas Gleixner Subject: Re: 2.6.39-rc4+: Kernel leaking memory during FS scanning, regression? Date: Thu, 28 Apr 2011 11:40:24 +0200 (CEST) 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-91261103-1303983625=:19095" Cc: =?ISO-8859-15?Q?Bruno_Pr=E9mont?= , 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: sedat.dilek@gmail.com Return-path: In-Reply-To: Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org 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-91261103-1303983625=:19095 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 28 Apr 2011, Sedat Dilek wrote: > On Thu, Apr 28, 2011 at 11:09 AM, Thomas Gleixner = wrote: > > 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= ->clock; > > =C2=A0 =C2=A0 =C2=A0 =C2=A0rq->clock +=3D delta; > > =C2=A0 =C2=A0 =C2=A0 =C2=A0update_rq_clock_task(rq, delta); >=20 > Referring to [1]? >=20 > - Sedat - >=20 > [1] http://lkml.org/lkml/2011/4/22/35 Kinda, but I suspect there is more wrong with that optimization thing for yet unknown reasons. Thanks, tglx --8323328-91261103-1303983625=: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