From: Ingo Molnar <mingo@elte.hu>
To: Nicholas Miell <nmiell@attbi.com>
Cc: Andreas Jaeger <aj@suse.de>, <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@transmeta.com>
Subject: Re: [announce] [patch] batch/idle priority scheduling, SCHED_BATCH
Date: Wed, 3 Jul 2002 09:59:35 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.44.0207030957500.2949-100000@e2> (raw)
In-Reply-To: <1025568143.1673.4.camel@entropy>
On 1 Jul 2002, Nicholas Miell wrote:
> > > This can be done in glibc. linux/sched.h should not be used by
> > > userspace applications, glibc has the define in <bits/sched.h> which is
> > > included from <sched.h> - and <sched.h> is the file defined by Posix.
> >
> > yes, this was my thinking too.
>
> OK, I can understand that line of reasoning.
>
> Keep in mind that someday, someone who is looking for the implementation
> of the SCHED_OTHER policy will be thoroughly confused by the kernel's
> complete lack of reference to SCHED_OTHER. And they'll be asking you for
> clarification.
>
> Or, you could make some note in the source that SCHED_OTHER is
> SCHED_NORMAL and eliminate any source of confusion now.
okay, i did this.
and, to not confuse existing code that still happens to use the kernel
headers, i added the #define to the 2.4.19-pre10-ac2 backport of the O(1)
scheduler.
Ingo
next prev parent reply other threads:[~2002-07-03 7:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-01 0:26 Ingo Molnar
2002-07-01 2:55 ` Nicholas Miell
2002-07-01 6:48 ` Andreas Jaeger
2002-07-01 8:00 ` Ingo Molnar
2002-07-02 0:02 ` Nicholas Miell
2002-07-03 7:59 ` Ingo Molnar [this message]
2002-07-04 13:04 ` Vitez Gabor
2002-07-07 12:46 ` Jakob Oestergaard
2002-07-07 19:07 ` Bernd Eckenfels
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=Pine.LNX.4.44.0207030957500.2949-100000@e2 \
--to=mingo@elte.hu \
--cc=aj@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=nmiell@attbi.com \
--cc=torvalds@transmeta.com \
/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®