Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754569AbaDRTwM (ORCPT ); Fri, 18 Apr 2014 15:52:12 -0400 Received: from mail-qg0-f53.google.com ([209.85.192.53]:51531 "EHLO mail-qg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754172AbaDRTwG (ORCPT ); Fri, 18 Apr 2014 15:52:06 -0400 Date: Fri, 18 Apr 2014 15:52:03 -0400 From: Tejun Heo To: Daeseok Youn Cc: laijs@cn.fujitsu.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] workqueue: jumps to use_dfl_pwq if the target cpumask is equal wq's Message-ID: <20140418195203.GH23576@htj.dyndns.org> References: <20140418000814.GA7622@devel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140418000814.GA7622@devel> 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 Fri, Apr 18, 2014 at 09:08:14AM +0900, Daeseok Youn wrote: > wq_update_unbound_numa(), when it's decided that the newly updated > cpumask equals the default, looks at whether the current pwq is > already the default one and skips setting pwq to the default one. > This extra step is unnecessary and we can always jump to use_dfl_pwq > instead. Simplify the code by removing the conditional. > This doesn't make any functional difference. > > Signed-off-by: Daeseok Youn Applied to wq/for-3.16 w/ minor update to the patch title. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/