Search Linux Wireless

Re: TXQ real_num_tx_queues comments/questions

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

 



[...]

> > I like the RCU variant better, as it means we don't need a "central"
> > lock that is taken for all tx queues, and it also allows other drivers
> > to actually change real_num_tx_queues in a similar fashion, should that
> > ever be required.
> 
> It seems to me that a simple synchronize_net() call near the end of
> agg queue removal would solve your problem as-is, wouldn't it?

Well, as far as I can tell we can't do that there because it's in
tasklet context/called under spinlocks so it has to be atomic. I think.

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