Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755969AbYGLXSj (ORCPT ); Sat, 12 Jul 2008 19:18:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752387AbYGLXSc (ORCPT ); Sat, 12 Jul 2008 19:18:32 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:55586 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752417AbYGLXSc (ORCPT ); Sat, 12 Jul 2008 19:18:32 -0400 Date: Sat, 12 Jul 2008 16:17:38 -0700 (PDT) From: Linus Torvalds To: Dmitry Adamushko cc: Vegard Nossum , Paul Menage , Max Krasnyansky , Paul Jackson , Peter Zijlstra , miaox@cn.fujitsu.com, rostedt@goodmis.org, Thomas Gleixner , Ingo Molnar , Linux Kernel Subject: Re: current linux-2.6.git: cpusets completely broken In-Reply-To: Message-ID: References: <20080712031736.GA3040@damson.getinternet.no> <19f34abd0807121600l653e28bfwb5cce2d880b7f2cd@mail.gmail.com> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 731 Lines: 20 On Sun, 13 Jul 2008, Dmitry Adamushko wrote: > > try_to_wake_up() -> ... -> wake_idle() does not see "cpu_active_map". You're right. I missed a couple places, because that migrate code not only ends up using "cpu_is_offline()" instead of "!cpu_online()" (so my greps all failed), and because it has those online checks in multiple places. Grr. So it would need to change a few other "cpu_is_offline()" calls to "!cpu_active()" instead (in __migrate_task at a minimum). Linus -- 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/