lkml.org 
[lkml]   [2003]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Preempt switchable.
From
Date
On Fri, 2003-03-21 at 14:48, Maciej Soltysiak wrote:

> would it be possible to turn on/off CONFIG_PREEMPT at runtime, eg. via
> sysctl ?

Sure, make a sysctl and check it in preempt_schedule() and
ret_from_kernel in entry.S before invoking schedule().

But that is not pretty, and I do not think it should go in mainline.
Linus has said as much, too.

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:34    [W:0.031 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site