All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: "Zhang, Qiang" <Qiang.Zhang@windriver.com>
Cc: "tglx@linutronix.de" <tglx@linutronix.de>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Question on migrate_disabe/enable()
Date: Tue, 26 Jan 2021 10:22:48 +0100	[thread overview]
Message-ID: <YA/faHXHWw1UfmUB@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <BYAPR11MB2632E0BCC9CE86D7DB6E7CFEFFBC9@BYAPR11MB2632.namprd11.prod.outlook.com>

On Tue, Jan 26, 2021 at 02:12:45AM +0000, Zhang, Qiang wrote:
> Hello Peterz, tglx
> 
> I have some questions about migrate_disabe/enable(),  in the past
> migrate_disabe/enable() is replaced by preempt_disable/enable() in no
> RT system.
> 
> And now migrate_disabe/enable() has its own implementation, I want to
> know in migrate_disabe/enable() critical area is blocking allowed?  

Yes, obviously. Otherwise it would've been preempt_disable().

> If allowed, There's a blockage in migrate_disabe/enable() critical
> area, and this time if CPU going offline,offline time will be longer.
> Is this normal phenomenon?

Ofcourse.

      reply	other threads:[~2021-01-26 18:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-26  2:12 Question on migrate_disabe/enable() Zhang, Qiang
2021-01-26  9:22 ` Peter Zijlstra [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=YA/faHXHWw1UfmUB@hirez.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=Qiang.Zhang@windriver.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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.