Re: Preempt of BKL and with tickless systems

From: Lee Revell
Date: Tue May 08 2007 - 20:02:00 EST


On 5/8/07, Bill Davidsen <davidsen@xxxxxxx> wrote:
I think I have a reasonable grip on the voluntary and full preempt
models, can anyone give me any wisdom on the preempt of the BKL? I know
what it does, the question is where it might make a difference under
normal loads. Define normal as servers and desktops.

This was introduced by Ingo to solve a real problem that I found,
where some codepath would hold the BKL for long enough to introduce
excessive scheduling latencies - search list archive for details. But
I don't remember the code path (scrolling the FB console? VT
switching? reiser3? misc. ioctl()s?). Basically, taking the BKL
disabled preemption which caused long latencies.

It's certainly possible that whatever issue led to this was solved in
another way since.

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