Messages in this thread | | | Date | Sun, 22 Jun 2008 21:59:53 +0200 | From | Bernhard Walle <> | Subject | Re: Introduce userspace interface for Firmware-provided memory map |
| |
Hi,
* "H. Peter Anvin" <hpa@kernel.org> [2008-06-20 13:35]: > > Vivek Goyal wrote: > > On Fri, Jun 20, 2008 at 05:56:57PM +0200, Bernhard Walle wrote: > >> This patch (as request for comments) introduces a new userspace interface > >> /proc/firmware_mem that provides the unfiltered view of the BIOS on > >> memory configuration. That's usable for two reasons: > > > > How about /proc/firmware_memmap. This is little longish but probably more > > clear in intent. > > Perhaps even /proc/firmware/memmap (or /sys/firmware/memmap/...). I > realize introducing a new directory is annoying, but it's a namespace > that is likely to have other users.
Since /sys/firmware is already used by ACPI and EDD, I think that's quite a good idea! Maybe we should also export the raw E820 or EFI memory map there. Just like EDD.
I'll send a new patch.
Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development
| |