On 2022-02-21 18:17:39 [+0100], Michal Hocko wrote: > > What about if replace get_cpu() with migrate_disable()? > > Yeah, that would be a better option. I am just not used to think in RT > so migrate_disable didn't really come to my mind. Good. Let me rebase accordingly, new version is coming soon. Side note: migrate_disable() is by now implemented in !RT and used in highmem for instance (kmap_atomic()). Sebastian