Search Linux Wireless

Re: [RFC] rfkill: rewrite

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

 



On Mon, 2009-03-30 at 11:54 +0200, Michael Buesch wrote:
> On Monday 30 March 2009 11:06:27 Johannes Berg wrote:
> > On Sun, 2009-03-29 at 19:53 +0200, Johannes Berg wrote:
> > > This patch completely rewrites the rfkill core to address
> > > the following deficiencies:
> > > 
> > >  * all rfkill drivers need to implement polling where necessary
> > >    rather than having one central implementation
> > 
> > One thing I was wondering about -- should we just implement polling via
> > a single work struct that iterates all those rfkill drivers that need
> > polling? I've given them each an own right now, but that seems
> > unnecessary.
> 
> If it doesn't add new locking problems (global locks, etc...) that'd be OK.

Hm, indeed, it probably would -- rfkill_register needs a global lock
while being called from the driver, and the polling would need the same
lock while calling into the driver.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux