Re: [PATCH] x86: tidy e820 output

From: H. Peter Anvin
Date: Wed Sep 22 2010 - 18:53:22 EST


On 09/22/2010 03:46 PM, David Rientjes wrote:
> On Wed, 22 Sep 2010, H. Peter Anvin wrote:
>
>>> It's true, they don't (well, everything below 4G still lines up, but
>>> not above that). Do you like this any better?
>>>
>>
>> That's fine with me. I don't mind the [mem ] bracket either if you
>> think it's useful.
>>
>
> This patch is going to break our userspace parsing scripts if you change
> the output format. Admittedly, we're probably one of the few users who
> actually parses this output, but we do have reasons to do it for our
> firmware. If there was some improvement being introduced here, we'd
> happily handle multiple regexs (we constantly add new patterns when new
> kernels are released), but I'm not seeing how this is better.

Kernel messages are not an ABI or API.

The user space API for this stuff is /sys/firmware/memmap.

-hpa
--
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/