From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756093AbXICKG0 (ORCPT ); Mon, 3 Sep 2007 06:06:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752773AbXICKGU (ORCPT ); Mon, 3 Sep 2007 06:06:20 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:48631 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752603AbXICKGT (ORCPT ); Mon, 3 Sep 2007 06:06:19 -0400 Date: Mon, 3 Sep 2007 03:56:44 +0000 From: Pavel Machek To: Jeff Chua Cc: rusty@rustycorp.com.au, vatsa@in.ibm.com, zwane@arm.linux.org.uk, kernel list , "Rafael J. Wysocki" , tglx@linutronix.de Subject: highres timers break cpu hotplug in 2.6.23-rc5 [was Re: cpu hotplug support broken in 2.6.23-rc3] Message-ID: <20070903035644.GC3655@ucw.cz> References: <20070827104350.GA2073@elf.ucw.cz> <20070827105801.GA4053@elf.ucw.cz> <20070827213248.GF3398@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > Can you try 20-or-so tests? Mine hangs randomly, so it survived 4 or > > so cycles at one point. > > Mine still survives with this ... with sleep 1 ... > > # for((i=0; i<100; i++)); do echo $i; echo $((i % 2)) > >/sys/devices/system/cpu/cpu1/online; sleep 1; done > > and this as well ... without sleep ... > > # for((i=0; i<100; i++)); do echo $i; echo $((i % 2)) > >/sys/devices/system/cpu/cpu1/online; done > > I'm on reiserfs. gcc 3.4.5. Config sent to you seperately so as not to > cloud lkml. If anyone wants the config, please let me know. Is mime > "attachment" acceptable now on lkml? It gets weirder. With "nohz=off" on commandline, I have to press any key (generate interrupt?) for echo 1 > online to finish. 2.6.23-rc5 kernel... but hotplug/unplug works reliably now. With nohz=off highres=off I can unplug/replug cpus as much as I want... running in tight loop now. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html