Re: [RFC] Linux memory error handling
From: Dave Hansen
Date: Wed Jun 15 2005 - 16:41:43 EST
On Wed, 2005-06-15 at 16:27 -0500, Russ Anderson wrote:
> How about /sys/devices/system/memory/dimmX with links in
> /sys/devices/system/node/nodeX/ ? Does that sound better?
Much better than /proc :)
However, we're already using /sys/devices/system/memory/ for memory
hotplug to represent Linux's view of memory, and which physical
addresses it is currently using. I've thought about this before, and I
think that we may want to have /sys/.../memory/hardware for the DIMM
information and memory/logical for the memory hotplug controls.
One other minor thing. You might want to think about referring to the
pieces of memory as things other than DIMMs. On ppc64, for instance,
the hypervisor hands off memory in sections called LMBs (logical memory
blocks), and they're not directly related to any hardware DIMM. The
same things will show up in other virtualized environments.
-- Dave
-
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/