From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756942Ab3K0SbY (ORCPT ); Wed, 27 Nov 2013 13:31:24 -0500 Received: from mail-yh0-f44.google.com ([209.85.213.44]:47949 "EHLO mail-yh0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751930Ab3K0SbW (ORCPT ); Wed, 27 Nov 2013 13:31:22 -0500 Date: Wed, 27 Nov 2013 13:31:17 -0500 From: Tejun Heo To: zhang.yi20@zte.com.cn Cc: Oleg Nesterov , lkml , Tetsuo Handa , Ingo Molnar , Peter Zijlstra Subject: Re: [PATCH]: exec: avoid propagating PF_NO_SETAFFINITY into userspace child Message-ID: <20131127183117.GB13098@mtj.dyndns.org> References: <20131114052326.GA29031@mtj.dyndns.org> <20131114114039.GA29277@redhat.com> <20131114115551.GA30824@redhat.com> <20131114115618.GB30824@redhat.com> <20131125121416.GB23829@redhat.com> <20131126180420.GA18172@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 27, 2013 at 10:07:03AM +0800, zhang.yi20@zte.com.cn wrote: > Userspace process doesn't want the PF_NO_SETAFFINITY, but its parent may be > a kernel worker thread which has PF_NO_SETAFFINITY set, and this worker thread > can do kernel_thread() to create the child. > Clearing this flag in usersapce child to enable its migrating capability. > > > Signed-off-by: Zhang Yi Acked-by: Tejun Heo cc'ing Ingo and Peter. Ingo, I think this one doesn't really suit the workqueue tree. Can you please pick this one up w/ Oleg's ack added and stable cc'd? The original patch is http://article.gmane.org/gmane.linux.kernel/1602429/raw Thanks! -- tejun