[Prism54-devel] WPA Supplicant support for Prism54 driver

Aurelien slts@free.fr
Tue, 13 Jan 2004 17:08:39 +0100


Hello,

On Tue, 13 Jan 2004 10:44:32 +0100
Jens Maurer <Jens.Maurer@gmx.net> wrote:

> Second, spin_lock_irqsave() is the correct lock to use (in principle):
> It disables interrupts on the local CPU and locks a spinlock.
> If everybody does this when accessing the data, you're now the only
> one that can possibly access the data.

Yes, but what I wanted to say was that as this data is in not accessed in atomic context (I wrote 'interrupt' because it's almost the only case in the driver in which we are atomic), a spinlock wass not the best lock to use...
 
	...And justice for all