public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] preempt-kernel on 2.4.19-pre2-ac2 bugfix
@ 2002-03-05  0:23 Robert Love
  2002-03-05  0:41 ` Mike Fedyk
  2002-03-07 23:21 ` Mike Fedyk
  0 siblings, 2 replies; 12+ messages in thread
From: Robert Love @ 2002-03-05  0:23 UTC (permalink / raw)
  To: linux-kernel

The same schedule_tail bug affecting 2.5 affects 2.4 with O(1).  I.e.,
2.4.19-pre2-ac2.

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:

	http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/preempt-kernel-rml-2.4.19-pre2-ac2-2.patch

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

	Robert Love


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-03-10  0:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-05  0:23 [PATCH] preempt-kernel on 2.4.19-pre2-ac2 bugfix Robert Love
2002-03-05  0:41 ` Mike Fedyk
2002-03-05  0:52   ` Robert Love
2002-03-07 23:21 ` Mike Fedyk
2002-03-07 23:46   ` Alan Cox
2002-03-08  0:05     ` Mike Fedyk
2002-03-08  0:38       ` Alan Cox
2002-03-08  2:27         ` Mike Fedyk
2002-03-08 13:21           ` Alan Cox
2002-03-08 19:26             ` Mike Fedyk
2002-03-09 23:35               ` Mike Fedyk
2002-03-10  0:53                 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox