Re: sysfs ugly timer interface (was Re: [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far)

Thomas Gleixner
2007-03-22T15:34:39Z

On Thu, 2007-03-22 at 08:28 -0700, Greg KH wrote:
> On Tue, Mar 20, 2007 at 11:54:03AM +0000, Pavel Machek wrote:
> > Hi!
> >
> > > root@MAIN:/home/maxim# cat /sys/devices/system/clockevents/clockevents0/registered
> > > lapic F:0007 M:3(periodic) C: 1
> > > hpet F:0003 M:1(shutdown) C: 0
> > > lapic F:0007 M:3(periodic) C: 0
> > > root@MAIN:/home/maxim#
> >
> > Now... this file needs to die, before 2.6.21 is released. It tries to
> > bring /proc-like parsing nightmare to sysfs. Kill it before it becomes
> > part of stable ABI!
>
> Eeek!
>
> I agree, that needs to be fixed now.
>
> Remember, 1 value per file in sysfs! Shall I just submit a patch
> ripping it out for now?

I fix it.

tglx