From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754286Ab3CRQrW (ORCPT ); Mon, 18 Mar 2013 12:47:22 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:51216 "EHLO mail-pb0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752054Ab3CRQrV (ORCPT ); Mon, 18 Mar 2013 12:47:21 -0400 Date: Mon, 18 Mar 2013 09:47:15 -0700 From: Tejun Heo To: Ingo Molnar Cc: Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH REPOST v3.9-rc1] sched: replace PF_THREAD_BOUND with PF_NO_SETAFFINITY Message-ID: <20130318164715.GC21516@mtj.dyndns.org> References: <20130308204518.GR14556@mtj.dyndns.org> <20130314225508.GC9400@htj.dyndns.org> <20130318094140.GB25045@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130318094140.GB25045@gmail.com> 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 Hello, On Mon, Mar 18, 2013 at 10:41:40AM +0100, Ingo Molnar wrote: > > This patch replaces PF_THREAD_BOUND with PF_NO_SETAFFINITY. > > sched_setaffinity() checks the flag and return -EINVAL if set. > > set_cpus_allowed_ptr() is no longer affected by the flag. > > > > This will allow simplifying workqueue worker CPU affinity management. > > Acked-by: Ingo Molnar > > I suspect you want to carry this in the workqueue tree, to enable those > extra simplifications? Yeah, I was planning to pull from one of the -tip branches but if I can carry it through the workqueue tree it would be simpler. Would that be okay? Thanks. -- tejun