lkml.org 
[lkml]   [2013]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH]: exec: avoid propagating PF_NO_SETAFFINITY into userspace child
    On Thu, Nov 28, 2013 at 04:00:55PM +0100, Oleg Nesterov wrote:
    > 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.
    >
    > 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.


    \
     
     \ /
      Last update: 2013-11-28 17:21    [W:4.759 / U:0.644 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site