Actually, the proper approach is probably to move the
"run_task_queue(&tq_scheduler);" to above the code that releases the
kernel lock.
Bottom half stuff can be done with the kernel lock in this "inconsistent"
state (because bottom half code cannot aquire the kernel lock anyway, that
would lead to instant lockups), so the bottom half stuff can be left where
it is, but the tq_scheduler running should be done at the top of the
scheduler.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/