From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934383AbaFSToh (ORCPT ); Thu, 19 Jun 2014 15:44:37 -0400 Received: from mail-qg0-f48.google.com ([209.85.192.48]:55334 "EHLO mail-qg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753823AbaFSTog (ORCPT ); Thu, 19 Jun 2014 15:44:36 -0400 Date: Thu, 19 Jun 2014 15:44:32 -0400 From: Tejun Heo To: Lai Jiangshan Cc: linux-kernel@vger.kernel.org, "Jason J. Herne" , Sasha Levin Subject: Re: [PATCH 2/2] workqueue: stronger test in process_one_work() Message-ID: <20140619194432.GC7390@mtj.dyndns.org> References: <1401780809-12331-1-git-send-email-laijs@cn.fujitsu.com> <1401780809-12331-2-git-send-email-laijs@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1401780809-12331-2-git-send-email-laijs@cn.fujitsu.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 03, 2014 at 03:33:28PM +0800, Lai Jiangshan wrote: > When POOL_DISASSOCIATED is cleared, the running worker's local CPU should > be the same as pool->cpu without any exception even during cpu-hotplug. > > This fix changes "(proposition_A && proposition_B && proposition_C)" > to "(proposition_B && proposition_C)", so if the old compound proposition > is true, the new one must be true too. so this fix will not hide any > possible bug which can be hit by old test. > > CC: Jason J. Herne > CC: Sasha Levin > Signed-off-by: Lai Jiangshan Applied to wq/for-3.17 with minor updates. Nice set of cleanups. Thanks! -- tejun