Search Linux Wireless

Re: [PATCH 2/5] iwlwifi: Convert the tx queue high_mark to an atomic_t

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

 



On Tue, Feb 15, 2011 at 4:08 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> Actually, it doesn't really matter. Linux assumes that reads and writes
> to "unsigned long" are always atomic against each other (i.e. you get
> either the old or the new value) and that's all you care about here --
> this never needs anything like atomic_inc/dec etc.

Excellent point, thank you.

-- Nathaniel
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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