|
|
Log in / Subscribe / Register

Migration disable for the mainline

Migration disable for the mainline

Posted Nov 10, 2020 20:38 UTC (Tue) by tnemeth (guest, #37648)
Parent article: Migration disable for the mainline

> If a CPU's run queue contains a task that is runnable, but which has been preempted by a higher-priority task, the normal response would be to try to migrate the preempted task elsewhere. If migration has been disabled, that cannot happen, obviously. So the scheduler will try, instead, to migrate the running, higher-priority task to get it out of the way.

If, when a higher-priority task is being woken up, it will preempt a per-CPU data holding task, wouldn't it be faster to wake it up directly on another CPU rather than on the same and trying to move it afterward ?


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds