Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757636AbYFCOkZ (ORCPT ); Tue, 3 Jun 2008 10:40:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753490AbYFCOkR (ORCPT ); Tue, 3 Jun 2008 10:40:17 -0400 Received: from relay1.sgi.com ([192.48.171.29]:40133 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753537AbYFCOkP (ORCPT ); Tue, 3 Jun 2008 10:40:15 -0400 Date: Tue, 3 Jun 2008 09:40:10 -0500 From: Dimitri Sivanich To: Max Krasnyansky Cc: Paul Jackson , linux-kernel@vger.kernel.org, Con Kolivas , "Derek L. Fults" , devik , Dinakar Guniguntala , Emmanuel Pacaud , Frederik Deweerdt , Ingo Molnar , Matthew Dobson , Nick Piggin , rostedt@goodmis.org, Oleg Nesterov , "Paul E. McKenney" , Paul Menage , Peter Zijlstra , "Randy.Dunlap" , suresh.b.siddha@intel.com, Thomas Gleixner Subject: Re: Inquiry: Should we remove "isolcpus= kernel boot option? (may have realtime uses) Message-ID: <20080603144010.GA25948@sgi.com> References: <20080601213019.14ea8ef8.pj@sgi.com> <20080602164203.GA2477@sgi.com> <48443E66.6060205@qualcomm.com> <20080602214151.GA7072@sgi.com> <48446D46.2010903@qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48446D46.2010903@qualcomm.com> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5155 Lines: 102 On Mon, Jun 02, 2008 at 02:59:34PM -0700, Max Krasnyansky wrote: > Yes it used to be somewhat unstable. These days it solid. I'm using it on a > wide range of systems: uTCA Core2Duo, NUMA dual-Opteron, 8way Core2, etc. And > things work as expected. Max, I tried the following scenario on an ia64 Altix running 2.6.26-rc4 with cpusets compiled in but cpuset fs unmounted. Do your patches already address this? $ taskset -cp 3 $$ (attach to cpu 3) pid 4591's current affinity list: 0-3 pid 4591's new affinity list: 3 $ echo 0 > /sys/devices/system/cpu/cpu2/online (down cpu 2) (above command hangs) Backtrace of pid 4591 (bash) Call Trace: [] schedule+0x1210/0x13c0 sp=e0000060b6dffc90 bsp=e0000060b6df11e0 [] schedule_timeout+0x40/0x180 sp=e0000060b6dffce0 bsp=e0000060b6df11b0 [] wait_for_common+0x240/0x3c0 sp=e0000060b6dffd10 bsp=e0000060b6df1180 [] wait_for_completion+0x40/0x60 sp=e0000060b6dffd40 bsp=e0000060b6df1160 [] __stop_machine_run+0x120/0x160 sp=e0000060b6dffd40 bsp=e0000060b6df1120 [] _cpu_down+0x2a0/0x600 sp=e0000060b6dffd80 bsp=e0000060b6df10c8 [] cpu_down+0x60/0xa0 sp=e0000060b6dffe20 bsp=e0000060b6df10a0 [] store_online+0x50/0xe0 sp=e0000060b6dffe20 bsp=e0000060b6df1070 [] sysdev_store+0x60/0xa0 sp=e0000060b6dffe20 bsp=e0000060b6df1038 [] sysfs_write_file+0x250/0x300 sp=e0000060b6dffe20 bsp=e0000060b6df0fe0 [] vfs_write+0x1b0/0x300 sp=e0000060b6dffe20 bsp=e0000060b6df0f90 [] sys_write+0x70/0xe0 sp=e0000060b6dffe20 bsp=e0000060b6df0f18 [] ia64_ret_from_syscall+0x0/0x20 sp=e0000060b6dffe30 bsp=e0000060b6df0f18 [] ia64_ivt+0xffffffff00010720/0x400 sp=e0000060b6e00000 bsp=e0000060b6df0f18 I also got this to hang after doing this: - taskset -cp 3 $$ (attach to cpu 3) - echo 0 > /sys/devices/system/cpu/cpu2/online (down cpu 2, successful this time) - echo 1 > /sys/devices/system/cpu/cpu2/online (up cpu 2, successful) - taskset -p $$ (read cpumask, this command hangs) Traceback here was: Backtrace of pid 4653 (bash) Call Trace: [] schedule+0x1210/0x13c0 sp=e0000060b78afab0 bsp=e0000060b78a1320 [] schedule_timeout+0x40/0x180 sp=e0000060b78afb00 bsp=e0000060b78a12f0 [] wait_for_common+0x240/0x3c0 sp=e0000060b78afb30 bsp=e0000060b78a12c0 [] wait_for_completion+0x40/0x60 sp=e0000060b78afb60 bsp=e0000060b78a12a0 [] set_cpus_allowed_ptr+0x210/0x2a0 sp=e0000060b78afb60 bsp=e0000060b78a1270 [] cache_add_dev+0x970/0xbc0 sp=e0000060b78afbb0 bsp=e0000060b78a11d0 [] cache_cpu_callback+0xa0/0x1e0 sp=e0000060b78afe10 bsp=e0000060b78a1190 [] notifier_call_chain+0x50/0xe0 sp=e0000060b78afe10 bsp=e0000060b78a1148 [] __raw_notifier_call_chain+0x40/0x60 sp=e0000060b78afe10 bsp=e0000060b78a1108 [] raw_notifier_call_chain+0x40/0x60 sp=e0000060b78afe10 bsp=e0000060b78a10d8 [] cpu_up+0x2d0/0x380 sp=e0000060b78afe10 bsp=e0000060b78a10a0 [] store_online+0x70/0xe0 sp=e0000060b78afe20 bsp=e0000060b78a1070 [] sysdev_store+0x60/0xa0 sp=e0000060b78afe20 bsp=e0000060b78a1038 [] sysfs_write_file+0x250/0x300 sp=e0000060b78afe20 bsp=e0000060b78a0fe0 [] vfs_write+0x1b0/0x300 sp=e0000060b78afe20 bsp=e0000060b78a0f90 [] sys_write+0x70/0xe0 sp=e0000060b78afe20 bsp=e0000060b78a0f18 [] ia64_ret_from_syscall+0x0/0x20 sp=e0000060b78afe30 bsp=e0000060b78a0f18 [] ia64_ivt+0xffffffff00010720/0x400 sp=e0000060b78b0000 bsp=e0000060b78a0f18 -- 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/