Re: [PATCH] Install kernel-page-flags.h

From: Alexey Dobriyan
Date: Wed Mar 14 2012 - 06:40:35 EST


On Wed, Mar 14, 2012 at 10:58 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Wed, Mar 14, 2012 at 03:26:07AM -0400, Ulrich Drepper wrote:
>> Programs using /proc/kpageflags need to know about the various flags. ÂThe
>> <linux/kernel-page-flags.h> provides them and the comments in the file
>> indicate that it is supposed to be used by user-level code. ÂBut the file
>> is not installed.
>>
>> The patch below installs the headers and marks the unstable flags as
>> out-of-bounds.
>
> 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.

ASCII sucks.
This interface is not for humans.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/