Skip to content

usermodehelper: kill ____call_usermodehelper()->set_cpus_allowed_ptr()

Oleg Nesterov lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 1 patch 0 repliesNew

Patches in v1 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] usermodehelper: kill ____call_usermodehelper()->set_cpus_allowed_ptr()
Quoted 7 lines · Peter Zijlstra
Quoted 5 lines · Oleg Nesterov

And btw. Note ____call_usermodehelper()->set_cpus_allowed_ptr(cpu_all_mask).

Even if we change the affinity of the "khelper" worker threads this won't restrict the user-space helpers.

Quoted 6 lines
Quoted 1 line

I think this set_cpus_allowed_ptr() should die in any case?

Yes. A while back someone proposed adding a magic cpumask to tweak in order to contain the usermode helpers.

Obviously I thought that was a bad idea.

OK. let me send the trivial patch then, please take it or ack for Andrew.

Assumung that you and Tejun agree with this change, of course.

Oleg.