From: Con Kolivas <kernel@kolivas.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] optional non-interactive mode for cpu scheduler
Date: Wed, 03 Nov 2004 20:16:34 +1100 [thread overview]
Message-ID: <4188A1F2.6000409@kolivas.org> (raw)
In-Reply-To: <20041102135220.GA20237@elte.hu>
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
Ingo Molnar wrote:
> SCHED_ISO would be interesting,
Cool! I've been toying with this too :)
> but all SCHED_BATCH patches that i've
> seen so far were fundamentally broken. [ none protects against the
> possibility of a simple CPU hog starving a SCHED_BATCH task in kernel
> mode holding say /home's i_sem forever. None except the one i wrote a
> couple of years ago that is ;-) ]
I guess the one I wrote for staircase is inadequate too. Although in the
field the implementation has been safe as far as I can tell.
I'm thinking of holding off for a bit to allow those current changes to
be tried in -mm for a bit.
I have two more questions - there are already userspace tools and older
out-of-tree kernels (inluding my current one) that use SCHED_BATCH and
SCHED_ISO.
Should we respect the values for these policies and use numbering
consistent with them (meaning SCHED_BATCH at 3 would be reserved but not
used) or should we dish out values according to when they're implemented
and demand userspace be updated.
Should we move to a policy bitmask numbering system and/or make
SCHED_CPUBOUND, SCHED_ISO etc subpolicies of SCHED_NORMAL?
Regards,
Con
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
prev parent reply other threads:[~2004-11-03 9:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-02 5:31 [PATCH] optional non-interactive mode for cpu scheduler Con Kolivas
2004-11-02 12:52 ` Ingo Molnar
2004-11-02 13:02 ` Con Kolivas
2004-11-02 13:11 ` Ingo Molnar
2004-11-02 13:40 ` Con Kolivas
2004-11-02 13:52 ` Ingo Molnar
2004-11-02 17:17 ` Kyle Moffett
2004-11-03 9:16 ` Con Kolivas [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=4188A1F2.6000409@kolivas.org \
--to=kernel@kolivas.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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