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: <4F6050E8.1060100@akkadia.org>
Date:	Wed, 14 Mar 2012 04:03:52 -0400
From:	Ulrich Drepper <drepper@...adia.org>
To:	Christoph Hellwig <hch@...radead.org>
CC:	arnd@...db.de, davem@...emloft.net, hverkuil@...all.nl,
	laurent.pinchart@...asonboard.com, linux-kernel@...r.kernel.org,
	mchehab@...hat.com
Subject: Re: [PATCH] Install kernel-page-flags.h

On 03/14/2012 03:58 AM, Christoph Hellwig wrote:
> I don't think this is a good idea at all.  Let's shoot the person who
> added that braindead interface ASAP, and replace it with one printing
> the flags in ASCII format.

This isn't really realistic.  The information is retrieved based on the 
PFN using lseek+read from a file descriptor.  How is the read supposed 
to work in case the record returned is not of a fixed size?  Aside, 
potentially a lot of these records are to be read and using ASCII 
strings will significantly slow things down.

If you have a concrete proposal please go ahead and propose it.
--
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