From: Daniel Phillips <phillips@bonn-fries.net>
To: psusi@cfl.rr.com, Robert Love <rml@tech9.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] (Updated) Preemptible Kernel
Date: Fri, 7 Sep 2001 03:10:56 +0200 [thread overview]
Message-ID: <20010907010351Z16175-26183+75@humbolt.nl.linux.org> (raw)
In-Reply-To: <999813729.2039.9.camel@phantasy> <200109070046.f870kEM06465@smtp-server2.tampabay.rr.com>
In-Reply-To: <200109070046.f870kEM06465@smtp-server2.tampabay.rr.com>
On September 6, 2001 10:39 pm, Phillip Susi wrote:
> ... what happens if
> say, the kernel called from user space is holding a lock, and gets preempted?
The thread will eventually get rescheduled and release the lock.
> Is there a mechanism to disable preemption while holding locks or at other
> resources that need to be freed before another task is run?
IIRC spinlocks inhibit scheduling, the simplest way to handle that.
--
Daniel
next prev parent reply other threads:[~2001-09-07 1:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-06 22:02 Robert Love
2001-09-06 20:39 ` Phillip Susi
2001-09-07 1:10 ` Daniel Phillips [this message]
2001-09-07 0:58 ` Robert Love
2001-09-09 4:44 ` Robert Love
2001-09-09 22:38 Robert Love
2001-09-19 0:10 Robert Love
2001-09-19 7:18 ` Robert Love
2001-10-01 4:21 Robert Love
2001-10-01 5:34 ` Steve Kieu
2001-10-01 5:46 ` Robert Love
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=20010907010351Z16175-26183+75@humbolt.nl.linux.org \
--to=phillips@bonn-fries.net \
--cc=linux-kernel@vger.kernel.org \
--cc=psusi@cfl.rr.com \
--cc=rml@tech9.net \
/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®