From: Max Krasnyansky <maxk@qualcomm.com>
To: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>,
linux-kernel@vger.kernel.org,
virtualization@lists.linux-foundation.org,
Christian Borntraeger <borntraeger@de.ibm.com>
Subject: Re: [PATCH] stopmachine: add stopmachine_timeout
Date: Mon, 14 Jul 2008 19:37:55 -0700 [thread overview]
Message-ID: <487C0D83.8050106@qualcomm.com> (raw)
In-Reply-To: <487C0A74.4070903@jp.fujitsu.com>
Hidetoshi Seto wrote:
> Heiko Carstens wrote:
>> Hmm.. probably a stupid question: but what could happen that a real cpu
>> (not virtual) becomes unresponsive so that it won't schedule a MAX_RT_PRIO-1
>> prioritized task for 5 seconds?
>
> The original problem (once I heard and easily reproduced) was there was an
> another MAX_RT_PRIO-1 task and the task was spinning in itself by a bug.
> (Now this would not be a problem since RLIMIT_RTTIME will work for it, but
> I cannot deny that there are some situations which cannot set the limit.)
Yep. As I described in the prev email in my case it's a legitimate thing. Some
of the CPU cores are running wireless basestation schedulers and the deadlines
are way too tight for them to sleep (it's "cpu as a dedicated engine" kind of
thing, they are properly isolated and stuff).
In this case actually RT limit is the first thing that I disable :).
I'd rather have stop_machine fail and tell the user that something is wrong.
In which case they can simply stop the basestation app that is running when
convinient. ie It give control back to the user rather than wedging the box or
killing the app.
Max
next prev parent reply other threads:[~2008-07-15 2:37 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <487B05CE.1050508@jp.fujitsu.com>
[not found] ` <200807141351.25092.borntraeger@de.ibm.com>
2008-07-14 12:34 ` [PATCH] stopmachine: add stopmachine_timeout Rusty Russell
[not found] ` <200807142234.40700.rusty@rustcorp.com.au>
2008-07-14 18:56 ` Jeremy Fitzhardinge
[not found] ` <487BA152.1070102@goop.org>
2008-07-14 21:20 ` Heiko Carstens
[not found] ` <20080714212026.GA6705@osiris.boeblingen.de.ibm.com>
2008-07-15 1:14 ` Rusty Russell
2008-07-15 2:24 ` Hidetoshi Seto
2008-07-15 2:24 ` Max Krasnyansky
[not found] ` <487C0A74.4070903@jp.fujitsu.com>
2008-07-15 2:37 ` Max Krasnyansky [this message]
[not found] ` <487C0A76.8060401@qualcomm.com>
2008-07-15 6:09 ` Heiko Carstens
2008-07-15 8:09 ` Rusty Russell
[not found] ` <200807151810.00365.rusty@rustcorp.com.au>
2008-07-15 8:39 ` Heiko Carstens
2008-07-15 8:51 ` Max Krasnyansky
2008-07-16 9:15 ` Christian Borntraeger
2008-07-16 4:27 ` [PATCH] stopmachine: add stopmachine_timeout v2 Hidetoshi Seto
[not found] ` <487D78A3.6050105@jp.fujitsu.com>
2008-07-16 6:23 ` Max Krasnyansky
[not found] ` <487D93CD.1000007@qualcomm.com>
2008-07-16 6:35 ` Hidetoshi Seto
[not found] ` <487D96A2.10904@jp.fujitsu.com>
2008-07-16 6:51 ` [PATCH] stopmachine: add stopmachine_timeout v3 Hidetoshi Seto
[not found] ` <487D9A8B.5020005@jp.fujitsu.com>
2008-07-16 7:33 ` Peter Zijlstra
[not found] ` <1216193615.5232.11.camel@twins>
2008-07-16 8:12 ` Hidetoshi Seto
2008-07-16 10:11 ` [PATCH] stopmachine: add stopmachine_timeout v2 Jeremy Fitzhardinge
[not found] ` <487DC943.5060202@goop.org>
2008-07-17 3:40 ` Hidetoshi Seto
[not found] ` <487EBF1E.5030109@jp.fujitsu.com>
2008-07-17 5:37 ` Jeremy Fitzhardinge
2008-07-18 4:18 ` Rusty Russell
2008-07-17 6:12 ` [PATCH] stopmachine: add stopmachine_timeout v4 Hidetoshi Seto
2008-07-17 7:09 ` Max Krasnyansky
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=487C0D83.8050106@qualcomm.com \
--to=maxk@qualcomm.com \
--cc=borntraeger@de.ibm.com \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=seto.hidetoshi@jp.fujitsu.com \
--cc=virtualization@lists.linux-foundation.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;
as well as URLs for NNTP newsgroup(s).