From: Robert Love <rml@tech9.net>
To: John Levon <levon@movementarian.org>
Cc: linux-kernel@vger.kernel.org, akpm@digeo.com, willy@debian.org
Subject: Re: flock(fd, LOCK_UN) taking 500ms+ ?
Date: 02 Oct 2002 15:10:29 -0400 [thread overview]
Message-ID: <1033585829.24108.66.camel@phantasy> (raw)
In-Reply-To: <20021002185814.GA23100@compsoc.man.ac.uk>
On Wed, 2002-10-02 at 14:58, John Levon wrote:
> How will cond_resched() work ? Surely that will only give a chance if
> the current process has reached the end of its timeslice (need_resched)
> ? Isn't "schedule()" the right thing here ?
need_resched is set whenever there is a higher priority process that is
now runnable (it is set on wake_up()). Otherwise cond_resched() would
be fairly worthless.. and kernel preemption, etc.
Robert Love
next prev parent reply other threads:[~2002-10-02 19:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-02 2:39 John Levon
2002-10-02 3:23 ` John Levon
2002-10-02 13:14 ` Matthew Wilcox
2002-10-02 17:04 ` Andrew Morton
2002-10-02 18:30 ` Matthew Wilcox
2002-10-02 18:58 ` John Levon
2002-10-02 19:10 ` Robert Love [this message]
2002-10-02 19:21 ` Robert Love
2002-10-02 19:23 ` Andrew Morton
2002-10-02 20:05 ` Matthew Wilcox
2002-10-02 21:36 Manfred Spraul
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=1033585829.24108.66.camel@phantasy \
--to=rml@tech9.net \
--cc=akpm@digeo.com \
--cc=levon@movementarian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=willy@debian.org \
/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®