This function schedule a thread on all CPU, exec a function.
Obtained from: drm-kmod
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential D36026
linuxkpi: Add stop_machine manu on Aug 2 2022, 3:33 PM. Authored by Tags None Referenced Files
Subscribers
Details
This function schedule a thread on all CPU, exec a function. Obtained from: drm-kmod
Diff Detail
Event TimelineComment Actions I'm unsure if sched_pin does this but we had this in drm-kmod for quite some time now so I guess it's somewhat working for us ? Comment Actions Huh, this seems quite surprising. I'm not sure where this was originally introduced but ISTM this is not equivalent. It's "working" now so moving it here is no worse I'd say, but should have a giant warning comment on it? Comment Actions this code definitely does not do anything like the linux variant. sched_pin just means it wont be migrated to a different cpu, but it does not execute anywhere else and most definitely does not stop anything. i don't know what exact semantics are needed, chances are this will work iwth smp_rendezvous Comment Actions Looks like it's only called in i915 on some case for VT-d (which we do not support) so unsurprising that it "worked" (i.e. never called). |