From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764329AbXJQGsy (ORCPT ); Wed, 17 Oct 2007 02:48:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756930AbXJQGsg (ORCPT ); Wed, 17 Oct 2007 02:48:36 -0400 Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:33825 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756642AbXJQGsf (ORCPT ); Wed, 17 Oct 2007 02:48:35 -0400 From: Paul Jackson To: Andrew Morton Cc: Cliff Wickman , linux-kernel@vger.kernel.org, Oleg Nesterov , Christoph Lameter , Paul Jackson , Ingo Molnar Date: Tue, 16 Oct 2007 23:48:34 -0700 Message-Id: <20071017064834.31240.30857.sendpatchset@jackhammer.engr.sgi.com> Subject: [PATCH] hotplug cpu: migrate a task within its cpuset whitespace fix Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Jackson Fix indentation and spacing. Signed-off-by: Paul Jackson Cc: Cliff Wickman Cc: Oleg Nesterov Cc: Christoph Lameter Cc: Ingo Molnar --- This fix applies to and follows the other patches: hotplug-cpu-migrate-a-task-within-its-cpuset*.patch kernel/sched.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) --- 2.6.23-mm1.orig/kernel/sched.c 2007-10-16 21:59:36.035170738 -0700 +++ 2.6.23-mm1/kernel/sched.c 2007-10-16 22:05:23.624506696 -0700 @@ -5034,16 +5034,16 @@ static void move_task_off_dead_cpu(int d /* No more Mr. Nice Guy. */ if (dest_cpu == NR_CPUS) { - cpumask_t cpus_allowed = cpuset_cpus_allowed_locked(p); - /* - * Try to stay on the same cpuset, where the current cpuset - * may be a subset of all cpus. - * The cpuset_cpus_allowed_locked() variant of - * cpuset_cpus_allowed() will not block - * It must be called within calls to cpuset_lock/cpuset_unlock. - */ + cpumask_t cpus_allowed = cpuset_cpus_allowed_locked(p); + /* + * Try to stay on the same cpuset, where the + * current cpuset may be a subset of all cpus. + * The cpuset_cpus_allowed_locked() variant of + * cpuset_cpus_allowed() will not block. It must be + * called within calls to cpuset_lock/cpuset_unlock. + */ rq = task_rq_lock(p, &flags); - p->cpus_allowed = cpus_allowed; + p->cpus_allowed = cpus_allowed; dest_cpu = any_online_cpu(p->cpus_allowed); task_rq_unlock(rq, &flags); -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.650.933.1373