lkml.org 
[lkml]   [2002]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [2.4.17/18pre] VM and swap - it's really unusable
From
Date
On Tue, 2002-01-08 at 16:08, Rik van Riel wrote:

> The preemptible kernel ALSO has to wait for a scheduling point
> to roll around, since it cannot preempt with spinlocks held.
>
> Considering this, I don't see much of an advantage to adding
> kernel preemption.

It only has to wait if locks are held and then only until the locks are
dropped. Otherwise it will preempt on the next return from interrupt.

Future work would be to look into long-held locks and see what we can
do.

Without preempt-kernel, we have none of this: either run until
completion or explicit scheduling points.

Robert Love

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

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