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] [day] [month] [year] [list]
Date:	Sun, 1 Apr 2012 13:30:16 +0300
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	Jan Engelhardt <jengelh@...ozas.de>
Cc:	Hiroyuki Kamezawa <kamezawa.hiroyuki@...il.com>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Ulrich Drepper <drepper@...il.com>
Subject: Re: [RFC] [PATCH 1/2] binary stream format for /proc/stat

On Sat, Mar 31, 2012 at 11:36:15PM +0200, Jan Engelhardt wrote:
> 
> On Saturday 2012-03-31 23:23, Hiroyuki Kamezawa wrote:
> >>
> >> Rather than adding more obscure formats and fields to /proc(/N)/stat, we
> >> should pursue descriptive lines like in /proc/N/status.
> >> Or, if so desired, sysfs-style splitted attributes where the filename
> >> takes on the description.
> >
> >Yes, I like format like /proc/N/status , /proc/meminfo...which is
> >readable to me.
> >But when I wrote this patch, I didn't want to break current format.
> >
> >My concern on sysfs-style one data per a file is that it will add many
> >open/close and making top/ps/sar slow.
> 
> Or you go netlink. That gives you a binary format.

And one more system call to acquire necessary data.
--
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