lkml.org 
[lkml]   [2008]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRemoving sysdevs? (was: Re: Is sysfs the right place to get cache and CPU topology info?)
Date
On Wednesday, 2 of July 2008, Greg KH wrote:
> On Wed, Jul 02, 2008 at 05:14:02PM +0200, Andi Kleen wrote:
> > Nathan Lynch wrote:
> > > Andi Kleen wrote:
> > >> Andrew Morton <akpm@linux-foundation.org> writes:
> > >>> sysfs is part of the kernel ABI. We should design our interfaces there
> > >>> as carefully as we design any others.
> > >> The basic problem is that sysfs exports an internal kernel object model
> > >> and these tend to change. To really make it stable would require
> > >> splitting it into internal and presented interface.
> > >
> > > True, but... /sys/devices/system/cpu has been there since around 2.6.5
> > > iirc. A google code search for that path shows plenty of programs
> > > (including hal) that hard-code it. Exposed object model or not,
> > > changing that path would break lots of software.
> >
> > Yes it would.
> >
> > But Greg is making noises of getting rid of sysdevs and it wouldn't
> > surprise me if that ended up being user visible since most object
> > model changes end up being visible.
>
> I hope to make sysdevs go away in such a manner that the sysfs tree does
> not change at all. That's my goal, but we still have a long ways to go
> before we can even consider attempting to do this, so don't worry about
> putting things in this location if you feel it is the best fit.

Speaking of which, I'm very interested in the removing of sysdevs, since they
don't fit into the new suspend/hibernation framework I'm working on. Can you
please tell me what the plan is?

Thanks,
Rafael


\
 
 \ /
  Last update: 2008-07-02 23:43    [W:0.113 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site