From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758711Ab3K1Nld (ORCPT ); Thu, 28 Nov 2013 08:41:33 -0500 Received: from merlin.infradead.org ([205.233.59.134]:50094 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758600Ab3K1Nlb (ORCPT ); Thu, 28 Nov 2013 08:41:31 -0500 Date: Thu, 28 Nov 2013 14:41:24 +0100 From: Peter Zijlstra To: Oleg Nesterov Cc: Tejun Heo , zhang.yi20@zte.com.cn, lkml , Tetsuo Handa , Ingo Molnar Subject: Re: [PATCH]: exec: avoid propagating PF_NO_SETAFFINITY into userspace child Message-ID: <20131128134124.GS10022@twins.programming.kicks-ass.net> References: <20131125121416.GB23829@redhat.com> <20131126180420.GA18172@redhat.com> <20131127183117.GB13098@mtj.dyndns.org> <20131128091358.GH10022@twins.programming.kicks-ass.net> <20131128114542.GA3826@redhat.com> <20131128121748.GN10022@twins.programming.kicks-ass.net> <20131128133152.GA821@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131128133152.GA821@redhat.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 28, 2013 at 02:31:52PM +0100, Oleg Nesterov wrote: > I _guess_ usermodehelper_init() should use WQ_SYSFS then, and in this case > the user can write to wq_cpumask_store somewhere in /sys/. WTF is that and why are we creating alternative affinity interfaces when sched_setaffinity() is a prefectly fine one?