From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Paul E. McKenney" Subject: Re: 2.6.39-rc4+: Kernel leaking memory during FS scanning, regression? Date: Thu, 28 Apr 2011 03:26:58 -0700 Message-ID: <20110428102658.GK2135@linux.vnet.ibm.com> References: <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> <20110427215549.GN2135@linux.vnet.ibm.com> <20110428082229.187c38c6@pluto.restena.lu> Reply-To: paulmck@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Thomas Gleixner , Linus Torvalds , Ingo Molnar , Peter Zijlstra , Mike Frysinger , KOSAKI Motohiro , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, "Paul E. McKenney" , Pekka Enberg To: Bruno =?iso-8859-1?Q?Pr=E9mont?= Return-path: Content-Disposition: inline In-Reply-To: <20110428082229.187c38c6@pluto.restena.lu> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Apr 28, 2011 at 08:22:29AM +0200, Bruno Pr=E9mont wrote: > On Wed, 27 Apr 2011 14:55:49 "Paul E. McKenney" wrote: > > On Wed, Apr 27, 2011 at 12:28:37AM +0200, Thomas Gleixner wrote: > > > On Tue, 26 Apr 2011, Linus Torvalds wrote: > > > > Normally SCHED_FIFO runs until it voluntarily gives up the CPU. T= hat's > > > > kind of the point of SCHED_FIFO. Involuntary context switches hap= pen > > > > when some higher-priority SCHED_FIFO process becomes runnable (ir= q > > > > handlers? You _do_ have CONFIG_IRQ_FORCED_THREADING=3Dy in your c= onfig > > > > too), and maybe there is a bug in the runqueue handling for that = case. > > >=20 > > > The forced irq threading is only effective when you add the command > > > line parameter "threadirqs". I don't see any irq threads in the ps > > > outputs, so that's not the problem. > > >=20 > > > Though the whole ps output is weird. There is only one thread/proce= ss > > > which accumulated CPU time > > >=20 > > > collectd 1605 0.6 0.7 49924 3748 ? SNLsl 22:14 0:14 > >=20 > > I believe that the above is the script that prints out the RCU debugf= s > > information periodically. Unless there is something else that begins > > with "collectd" instead of just collectdebugfs.sh. >=20 > No, collectd is a multi-threaded daemon that collects statistics of all > kinds, see http://www.collectd.org/ for details (on my machine it > collects CPU usage, memory usage [just the basics], disk statistics, > network statistics load and a few more) OK, thank you for the info! Thanx, Paul -- 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