Re: spinlocks() are severely broken in 2.2.X and 2.4.X for modules

=?ISO-8859-1?Q?G=E9rard_Roudier?= (groudier@club-internet.fr)
Sat, 1 Jul 2000 10:09:56 +0200 (CEST)


On Fri, 30 Jun 2000, Jeff V. Merkey wrote:

[...]

> void NWLockLRU(LRU_HANDLE *lru_handle)
> {
> spinlock_irqsave(&lru_handle->LRU_spinlock, lru_handle->LRU_flags);

Does not seem to me safe to store irq flags in shared data structures.
SMP .vs. UP does not seem to matter here.

> return;
> }

[...]

Gérard.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/