lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 28 Apr 2011 08:48:39 -0700
From:	Linus Torvalds <torvalds@...ux-foundation.org>
To:	sedat.dilek@...il.com
Cc:	Mike Galbraith <efault@....de>,
	Thomas Gleixner <tglx@...utronix.de>,
	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
	Bruno Prémont <bonbons@...ux-vserver.org>,
	Ingo Molnar <mingo@...e.hu>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Mike Frysinger <vapier.adi@...il.com>,
	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	LKML <linux-kernel@...r.kernel.org>, linux-mm@...ck.org,
	linux-fsdevel@...r.kernel.org,
	"Paul E. McKenney" <paul.mckenney@...aro.org>,
	Pekka Enberg <penberg@...nel.org>
Subject: Re: 2.6.39-rc4+: Kernel leaking memory during FS scanning, regression?

On Thu, Apr 28, 2011 at 8:28 AM, Sedat Dilek <sedat.dilek@...glemail.com> wrote:
>
> From the very beginning it looked as the system is "stable" due to:

Actually, look here, right from the beginning that log is showing
total breakage:

  Thu Apr 28 16:49:51 CEST 2011
    .rt_time                       : 233.923773
  Thu Apr 28 16:50:06 CEST 2011
    .rt_time                       : 259.446506
  Thu Apr 28 16:50:22 CEST 2011
    .rt_time                       : 273.110840
  Thu Apr 28 16:50:37 CEST 2011
    .rt_time                       : 282.713537
  Thu Apr 28 16:50:52 CEST 2011
    .rt_time                       : 288.136013
  Thu Apr 28 16:51:07 CEST 2011
    .rt_time                       : 293.057088
..
  Thu Apr 28 16:58:29 CEST 2011
    .rt_time                       : 888.893877
  Thu Apr 28 16:58:44 CEST 2011
    .rt_time                       : 950.005460

iow, rt_time just constantly grows. You have that "sleep 15" between
every log entry, so rt_time growing by 10-100 ms every 15 seconds
obviously does mean that it's using real CPU time, but it's still well
in the "much less than 1% CPU" range. So the rcu thread is clearly
doing work, but equally clearly it should NOT be throttled.

But since it is constantly growing, at some point it _will_ hit that
magical "950ms total time used", and then it gets throttled. For no
good reason.

It shouldn't have been throttled in the first place, and then the
other bug - that it isn't apparently ever unthrottled - just makes it
not work at all.

So that whole throttling is totally broken.

                           Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ