Re: uninteruptable sleep (D state => load_avrg++)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 4 Apr 2001 12:15:52 +0100 (BST)


> The file locking use real IO and so when you ask for a lock, if the loc=
> k is already owned, you fall in a D state.

That seems odd. They should be using interruptible sleeps so you can interrupt
the task waiting for the lock, surely.

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