From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759017Ab3K1PSc (ORCPT ); Thu, 28 Nov 2013 10:18:32 -0500 Received: from merlin.infradead.org ([205.233.59.134]:52140 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758533Ab3K1PSb (ORCPT ); Thu, 28 Nov 2013 10:18:31 -0500 Date: Thu, 28 Nov 2013 16:18:22 +0100 From: Peter Zijlstra To: Tejun Heo Cc: Oleg Nesterov , zhang.yi20@zte.com.cn, lkml , Tetsuo Handa , Ingo Molnar Subject: Re: [PATCH]: exec: avoid propagating PF_NO_SETAFFINITY into userspace child Message-ID: <20131128151822.GD10022@twins.programming.kicks-ass.net> References: <20131128133152.GA821@redhat.com> <20131128133947.GR10022@twins.programming.kicks-ass.net> <20131128141329.GB3925@htj.dyndns.org> <20131128143145.GT10022@twins.programming.kicks-ass.net> <20131128144359.GL3694@twins.programming.kicks-ass.net> <20131128145325.GG3925@htj.dyndns.org> <20131128145755.GY10022@twins.programming.kicks-ass.net> <20131128150210.GI3925@htj.dyndns.org> <20131128150704.GB10022@twins.programming.kicks-ass.net> <20131128151035.GK3925@htj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131128151035.GK3925@htj.dyndns.org> 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 10:10:35AM -0500, Tejun Heo wrote: > On Thu, Nov 28, 2013 at 04:07:04PM +0100, Peter Zijlstra wrote: > > On Thu, Nov 28, 2013 at 10:02:10AM -0500, Tejun Heo wrote: > > > > So far I just see you breaking existing setups because you don't want to > > > > support things that work perfectly well. > > > > > > It doesn't work as explained multiple times in this thread. > > > > It used to.. just not on recent kernels. You know 'enterprise' latency. > > If you're talking about khelfper and wanna restore it, it really > should be broken out into a separate kthread. It doesn't make any > sense to implement that in the workqueue framework. Why would you > implement a dedicated task inside a worker pool implementation which > makes use of the said tasks? There's even kthread_work interface > which pretty much provides workqueue-equivalent interface on top of a > single task for cases like this. That would only solve one of my problems. People want to contain the unbound workqueues too.