lkml.org 
[lkml]   [2005]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] Linux memory error handling
From
Date
On Wed, 2005-06-15 at 15:28 -0500, Russ Anderson wrote:
> Russell King wrote:
> > On Wed, Jun 15, 2005 at 04:26:13PM +0100, Maciej W. Rozycki wrote:
> > > On Wed, 15 Jun 2005, Russ Anderson wrote:
> > > > Memory DIMM information & settings:
> > > >
> > > > Use a /proc/dimm_info interface to pass DIMM information to Linux.
> > > > Hardware vendors could add their hardware specific settings.
> > >
> > > I'd recommend a more generic name rather than "dimm_info" if that is to
> > > be reused universally.
> >
> I really don't care what it's called, as long as it's descriptive.
> /proc/meminfo is taken. :-)
>
> One idea would follow the concept of /proc/bus/ and have /proc/memory/
> with different memory types. /proc/memory/dimm0 /proc/memory/dimm1
> /proc/memory/flash0 .

Please don't do this in /proc. If it's a piece of hardware, and it
needs to have some information about it exported, then you need to use
kobjects and sysfs.

-- Dave

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

\
 
 \ /
  Last update: 2005-06-15 23:11    [W:0.039 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site