Search Linux Wireless

RE: [PATCH] mwifiex: change is_suspended variable type to atomic_t

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

 



Hi Johannes,

> > is_suspended flag can be accessed by multiple threads.
> > Use atomic variable type for is_suspended to ensure that there
> > are no undefined behaviours.
> 
> atomic_t doesn't do what you seem to think it does, this patch is
> completely bogus.
> 

Thank you for your comment. Perhaps we need spinlocks here to prevent the possible races.

Hi John, please drop this patch.

Thanks,
Bing




��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux