Re: owner field in `struct fs'

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 24 Jun 2000 21:25:33 +0100 (BST)


> Here it is (it compiles both for UP and SMP, I can't test it on SMP though).
>
> --- linux/kernel/module.c Fri Jun 23 20:17:18 2000
> +++ linux-prumpf/kernel/module.c Sat Jun 24 11:53:05 2000

CPU1 CPU2
spinlock(&card->lock)
rmmod
-FREEZE->
spin on freeze
cleanup_module
spinlock(&card->lock)

And the box is dead.

-
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/