All of lore.kernel.org
 help / color / mirror / Atom feed
* beginner question about cfi_spin_lock()
@ 2004-08-11  3:24 Linh Dang
  0 siblings, 0 replies; only message in thread
From: Linh Dang @ 2004-08-11  3:24 UTC (permalink / raw)
  To: linux-mtd



why the struct flchip must be protected with:

        - local_bh_disable()
        - preempt_disable()
        - spin_lock()

isn't that a bit overkill? Won't a mutex (semaphore) be sufficient?


Thanx

-- 
Linh Dang

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-11  3:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-11  3:24 beginner question about cfi_spin_lock() Linh Dang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.