Re: [announce] "kill the Big Kernel Lock (BKL)" tree

From: John Stoffel
Date: Thu May 15 2008 - 11:27:09 EST


>>>>> "Andi" == Andi Kleen <andi@xxxxxxxxxxxxxx> writes:

Andi> John Stoffel wrote:
>>>>>>> "Andi" == Andi Kleen <andi@xxxxxxxxxxxxxx> writes:
>>
Andi> Linus Torvalds wrote:
>>>> On Thu, 15 May 2008, Andi Kleen wrote:
>>>>> The goal less being to get rid of BKL in old drivers, but not
>>>>> requiring BKL in new drivers. Basically all BKL assumptions
>>>>> in interfaces really should go.
>>>> No, we really do want to get rid of BKL in old drivers too. Or at least in
>>>> the interfaces.
>>
Andi> In the interfaces definitely yes and all subsystems should have
Andi> their own lock_kernel calls, but why in the old drivers? For
Andi> those it's very unlikely they are used on any SMP system anyways
Andi> (e.g. anything depending on CONFIG_ISA) or if they do only on 2
Andi> CPU systems.
>>
>> I'm still running an SMP server with ISA slots.

Andi> I do too (although one CPU has died recently), but how many ISA
Andi> devices do you use in it? Mine used to have a ISA ISDN card, but
Andi> that was it and then no ISA anymore even though the slots are
Andi> still in there.

I must admit I used to have an ISA Cyclades 8 port serial card running
in there, but now it's all PCI stuff. It only had one ISA slot. So
yes, ISA SMP boxes are slowly dying, but they'll be around for a long
time to come.

Andi> Also on 2 CPU systems BKL is not that critical anyways. It only
Andi> starts to hurt on larger CPU counts.

True, but with the growing number of multicore systems, esp on
desktops, it's going to be an issue. How will the BKL work on quad
core boxes?

I'm going to shutup now, since I don't have the knowledge to really
contribute much to the discussion.

John



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