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]
Message-ID: <20160818144149.GO30162@dhcp22.suse.cz>
Date:	Thu, 18 Aug 2016 16:41:49 +0200
From:	Michal Hocko <mhocko@...nel.org>
To:	Joe Perches <joe@...ches.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
	LKML <linux-kernel@...r.kernel.org>, Jann Horn <jann@...jh.net>
Subject: Re: [PATCH] proc, smaps: reduce printing overhead

On Thu 18-08-16 16:26:16, Michal Hocko wrote:
> b) doesn't it try to be overly clever when doing that in the caller
> doesn't cost all that much? Sure you can save few bytes in the spaces
> but then I would just argue to use \t rather than fixed string length.

ohh, I misread the code. It tries to emulate the width formater. But is
this really necessary? Do we know about any tools doing a fixed string
parsing?
-- 
Michal Hocko
SUSE Labs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ