From: Juergen Gross <jgross@suse.com>
To: Jan Beulich <JBeulich@suse.com>,
"FionaLi-oc <fionali-oc@zhaoxin.com>" <fionali-oc@zhaoxin.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
cobechen@zhaoxin.com, Dario Faggioli <dfaggioli@suse.com>
Subject: Re: [PATCH] cpupool: fix ASSERT( c != old_pool )
Date: Mon, 8 Apr 2019 12:25:06 +0200 [thread overview]
Message-ID: <11f0f156-4313-00c4-0355-0fdb82db70cb@suse.com> (raw)
On 08/04/2019 11:26, Jan Beulich wrote:
>>>> On 08.04.19 at 07:09, <jgross@suse.com> wrote:
>> On 08/04/2019 04:40, FionaLi-oc wrote:
>>> Assigning cpu to cpupool needn't to switch cpu scheduler when
>>> system state is resume, otherwise it will cause ASSERT in
>>> schedule_cpu_switch().
>>
>> I don't think this patch is needed on current staging tree. Commit
>> 6870ea9d1fad6fbe27 changed resume handling leading to
>> cpupool_assign_cpu_locked() being no longer called when resuming.
>
> But is it something worthwhile to put onto stable trees (with the
> one missing blank added)?
I don't think it is always correct.
While avoiding the ASSERT() triggering it won't switch back the
scheduler from the default one at resume, which was activated when
suspending the machine.
So for older Xen versions we'd need to know which ASSERT() was
triggering and why that did happen, or we could backport my series
removing really the need for calling schedule_cpu_switch().
Juergen
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
WARNING: multiple messages have this Message-ID (diff)
From: Juergen Gross <jgross@suse.com>
To: Jan Beulich <JBeulich@suse.com>,
"FionaLi-oc <fionali-oc@zhaoxin.com>" <fionali-oc@zhaoxin.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
cobechen@zhaoxin.com, Dario Faggioli <dfaggioli@suse.com>
Subject: Re: [Xen-devel] [PATCH] cpupool: fix ASSERT( c != old_pool )
Date: Mon, 8 Apr 2019 12:25:06 +0200 [thread overview]
Message-ID: <11f0f156-4313-00c4-0355-0fdb82db70cb@suse.com> (raw)
Message-ID: <20190408102506.pQtQBIPzqrXIlT2PjjkS2zi0rSs3B8aUY2blQXHA0v8@z> (raw)
On 08/04/2019 11:26, Jan Beulich wrote:
>>>> On 08.04.19 at 07:09, <jgross@suse.com> wrote:
>> On 08/04/2019 04:40, FionaLi-oc wrote:
>>> Assigning cpu to cpupool needn't to switch cpu scheduler when
>>> system state is resume, otherwise it will cause ASSERT in
>>> schedule_cpu_switch().
>>
>> I don't think this patch is needed on current staging tree. Commit
>> 6870ea9d1fad6fbe27 changed resume handling leading to
>> cpupool_assign_cpu_locked() being no longer called when resuming.
>
> But is it something worthwhile to put onto stable trees (with the
> one missing blank added)?
I don't think it is always correct.
While avoiding the ASSERT() triggering it won't switch back the
scheduler from the default one at resume, which was activated when
suspending the machine.
So for older Xen versions we'd need to know which ASSERT() was
triggering and why that did happen, or we could backport my series
removing really the need for calling schedule_cpu_switch().
Juergen
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next reply other threads:[~2019-04-08 10:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-08 10:25 Juergen Gross [this message]
2019-04-08 10:25 ` [Xen-devel] [PATCH] cpupool: fix ASSERT( c != old_pool ) Juergen Gross
-- strict thread matches above, loose matches on Subject: below --
2019-04-08 2:40 FionaLi-oc
2019-04-08 5:09 ` Juergen Gross
2019-04-08 9:26 ` Jan Beulich
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=11f0f156-4313-00c4-0355-0fdb82db70cb@suse.com \
--to=jgross@suse.com \
--cc=JBeulich@suse.com \
--cc=cobechen@zhaoxin.com \
--cc=dfaggioli@suse.com \
--cc=fionali-oc@zhaoxin.com \
--cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.