[lkml]   [2002]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH] preempt-kernel on 2.4.19-pre2-ac2 bugfix
The same schedule_tail bug affecting 2.5 affects 2.4 with O(1).  I.e.,

In recent O(1) scheduler releases, an optimization was made that removed
schedule_tail from UP kernels. This causes the initial preempt_count of
a new task, which starts at 1, to never decrement to zero and thus never
become preemptible. CONFIG_PREEMPT requires schedule_tail, too.

Users of 2.4+O(1)+preempt (i.e. -ac) should use this patch:

instead. Thanks to everyone who pointed out the lousy performance. Enjoy,

Robert Love

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:24    [W:0.061 / U:14.024 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site