Re: [patch] remove the BKL (Big Kernel Lock), this time for real
From: William Lee Irwin III
Date: Fri Sep 17 2004 - 08:51:51 EST
On Fri, Sep 17, 2004 at 12:39:45PM +0200, Ingo Molnar wrote:
>> task not migrating to another CPU within the BLK critical section?
On Fri, Sep 17, 2004 at 03:26:41PM +0200, Andrea Arcangeli wrote:
> I very much doubt, I'd expect this to work, but it really should be a
> config option if you don't open 2.7. This is the kind of thing that
> cannot happen in a 2.6.* release without a config option to leave off in
> production IMHO since it can have implications well outside the mainline
> kernel (every driver outside the kernel would be affected too).
IMHO this would be more likely to fix bugs than introduce them so long
as the BKL is acquired before spinlocks in all instances. There are
many instances where scheduling under the BKL is inadvertent and thus
racy, but very few (if any) where the BKL is an inner lock or a holder
of the BKL yields so something that will wake it can acquire the BKL.
-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/