mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: Maciej Soltysiak <solt@dns.toxicfilms.tv>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Preempt switchable.
Date: 21 Mar 2003 14:55:55 -0500	[thread overview]
Message-ID: <1048276554.4908.31.camel@phantasy.awol.org> (raw)
In-Reply-To: <Pine.LNX.4.51.0303212047100.11545@dns.toxicfilms.tv>

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


      reply	other threads:[~2003-03-21 19:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-21 19:48 Maciej Soltysiak
2003-03-21 19:55 ` Robert Love [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1048276554.4908.31.camel@phantasy.awol.org \
    --to=rml@tech9.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=solt@dns.toxicfilms.tv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®