Re: [RFC] Linux memory error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux