Messages in this thread | | | Date | Mon, 8 Jul 2002 13:29:30 +0100 | From | Matthew Wilcox <> | Subject | Re: BKL removal |
| |
On Sun, Jul 07, 2002 at 07:52:34PM -0700, Dave Hansen wrote: > Well, I certainly have the hardware to measure the difference. But, I > seem to remember several conversations in the past where people didn't > like this behavior. > http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&threadm=linux.kernel.3C62DABA.3020906%40us.ibm.com
I think this is a very different philosophy. That's "well, this should be a spinlock, but sometimes we sleep, and we don't want to think about it too hard, so let's invent a magical lock". This is "sometimes we don't hold semaphores for very long so we can improve performance by spinning 1000 times before sleeping".
-- Revolutions do not require corporate support. - 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/
| |