Re: Adding rfkill support to thinkpad_acpi

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

 



[Sorry, cut away too much in original reply...]

On 5/22/07, Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> wrote:
> On Tue, 22 May 2007, Dmitry Torokhov wrote:
> >
> > Notification to where? The driver? Userspace? Does delay in status
> > reading of ~0.5 sec matter? You are concerned with the load on the EC
>
> To the driver, and yes it matters.
>
> > caused by constant polling but are you OK with apllications readig
> > sysfs attributes constantly (rfkill attributs are exported 0644 or
> > 0444 so anyone could  read them)? Do you want the driver to do
>
> No, I am not.  And I am so going to rate-limit the entire thinkpad-acpi
> sysfs interface eventually, you can count on it.  And rfkill isn't the
> reason it will be done, either.  Userspace braindamage is.
>

So how are you going to implement rate limiting and still give user
guarantee that he will see the most current hardware state?

-- 
Dmitry

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux