linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question on migrate_disabe/enable()
@ 2021-01-26  2:12 Zhang, Qiang
  2021-01-26  9:22 ` Peter Zijlstra
  0 siblings, 1 reply; 2+ messages in thread
From: Zhang, Qiang @ 2021-01-26  2:12 UTC (permalink / raw)
  To: peterz, tglx; +Cc: linux-kernel

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?  

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?

Thanks
Qiang
















^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Question on migrate_disabe/enable()
  2021-01-26  2:12 Question on migrate_disabe/enable() Zhang, Qiang
@ 2021-01-26  9:22 ` Peter Zijlstra
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Zijlstra @ 2021-01-26  9:22 UTC (permalink / raw)
  To: Zhang, Qiang; +Cc: tglx, linux-kernel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-26 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-26  2:12 Question on migrate_disabe/enable() Zhang, Qiang
2021-01-26  9:22 ` Peter Zijlstra

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).