Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752027AbaBXHHm (ORCPT ); Mon, 24 Feb 2014 02:07:42 -0500 Received: from merlin.infradead.org ([205.233.59.134]:55957 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757AbaBXHHk (ORCPT ); Mon, 24 Feb 2014 02:07:40 -0500 Date: Mon, 24 Feb 2014 08:07:31 +0100 From: Peter Zijlstra To: Lei Wen Cc: mingo@kernel.org, hpa@zytor.com, mgalbraith@suse.de, linux-kernel@vger.kernel.org, leiwen@marvell.com, tglx@linutronix.de, linux-tip-commits@vger.kernel.org Subject: Re: [tip:sched/core] sched, nohz: Exclude isolated cores from load balancing Message-ID: <20140224070731.GV9987@twins.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Mon, Feb 24, 2014 at 10:11:05AM +0800, Lei Wen wrote: > How about use the API as cpumask_test_and_clear_cpu? > Then below one line is enough. Its more expensive. -- 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/