[sched] [patch] schedule-cleanup-2.5.3-pre2-A1

From: Ingo Molnar (mingo@elte.hu)
Date: Sun Jan 20 2002 - 08:55:22 EST


the attached patch speeds up and cleans up schedule(), removing the
need_reschedule check on bkl-reacquire. This was needed in 2.2 times when
the big kernel lock was still prominent, but today it's not needed
anymore, especially with the preemption/lowlatency patches that will do
this correctly. This change removes 5 lines from the source code, and a
number of instructions from the scheduler hotpath. (i've also reverted the
switch statement's indentation to the previous, more correct indentation
style.)

        Ingo



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



This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:00:37 EST