From: Ian Collinson <icollinson@imerge.co.uk>
To: "'Andrew Morton'" <akpm@zip.com.au>, Robert Love <rml@tech9.net>,
Andi Kleen <ak@muc.de>
Cc: Mike Kravetz <kravetz@us.ibm.com>,
linux-kernel@vger.kernel.org, andrea@suse.de
Subject: RE: realtime scheduling problems with 2.4 linux kernel >= 2.4.10
Date: Wed, 5 Jun 2002 12:53:06 +0100 [thread overview]
Message-ID: <C0D45ABB3F45D5118BBC00508BC292DB09C99A@imgserv04> (raw)
Andi Kleen wrote:
> Fixing it would require boosting keventd's priority either globally
> or temporarily. E.g. if the original reporter could put this
> (untested/uncompiled) at the beginning of
kernel/context.c:context_thread():
>
> current->policy = SCHED_RR;
> current->rt_priority = 99;
>
> it could fix his problem.
OK, I've tried the above fix on 2.4.17, and it seems to work. Thanks Andi.
We can now get into the box on a high priority console after provoking a
lockup with a lower priority, CPU hogging realtime process.
Are there any potentially negative consequences of this fix, apart from
those already mentioned?
I certainly vote for this feature being preserved, as it is extremely useful
for debugging realtime priority apps. FYI, we narrowed it down to breaking
in either 2.4.10-pre11 or pre12.
Cheers
Ian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Imerge Limited Tel :- +44 (0)1954 783600
Unit 6 Bar Hill Business Park Fax :- +44 (0)1954 783601
Saxon Way Web :- http://www.imerge.co.uk
Bar Hill
Cambridge
CB3 8SL
United Kingdom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next reply other threads:[~2002-06-05 11:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-05 11:53 Ian Collinson [this message]
2002-06-05 12:17 ` Andi Kleen
2002-06-05 18:05 ` george anzinger
2002-06-05 18:13 ` Robert Love
-- strict thread matches above, loose matches on Subject: below --
2002-05-30 17:54 Ian Collinson
2002-05-31 18:28 ` Mike Kravetz
2002-05-31 19:41 ` Andrea Arcangeli
2002-06-01 17:05 ` Andi Kleen
2002-06-03 16:03 ` Mike Kravetz
2002-06-03 20:08 ` Andrew Morton
2002-06-03 20:13 ` Robert Love
2002-06-03 21:09 ` Andrew Morton
2002-06-03 21:07 ` Andrea Arcangeli
2002-06-03 20:12 ` Andi Kleen
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=C0D45ABB3F45D5118BBC00508BC292DB09C99A@imgserv04 \
--to=icollinson@imerge.co.uk \
--cc=ak@muc.de \
--cc=akpm@zip.com.au \
--cc=andrea@suse.de \
--cc=kravetz@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--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®