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:	Wed, 7 Nov 2012 00:37:57 +0000
From:	Al Viro <viro@...IV.linux.org.uk>
To:	Nathan Zimmer <nzimmer@....com>
Cc:	Ingo Molnar <mingo@...hat.com>,
	Peter Zijlstra <peterz@...radead.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [RFC 0/2] /proc/sched_stat and /proc/sched_debug fail at 4096

On Tue, Nov 06, 2012 at 03:02:19PM -0600, Nathan Zimmer wrote:
> When running with 4096 cores attemping to read /proc/sched_stat and
> /proc/sched_debug will fail with an ENOMEM condition.
> On a sufficantly large systems the total amount of data is more then 4mb, so
> it won't fit into a single buffer. 

Not a bad idea, but the iterator is wrong - it assumes that CPU 0 is always
online, AFAICS.  Header should be handled separately - see my reply to
davej several hours ago.
--
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