Re: [patch] show_buffers() resurrection

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 12 Sep 1999 15:45:09 +0100 (BST)


> Andrea, this was _SPECIFICALLY_ removed because it made the buffer
> cache locking more complex. You risk total and complete deadlock
> unless you change all of the buffer cache spinlocks to be IRQ
> spinlocks.

If you look at the patch it doesn't touch the buffer locking. It just tries
to test the lock if it can. Instead of locking the show buffers case against
the system it simply does nothing if it cant get the lock, so doesn't deadlock

Alan

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