[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200806041818.29709.ioe-lkml@rameria.de>
Date: Wed, 4 Jun 2008 18:18:27 +0200
From: Ingo Oeser <ioe-lkml@...eria.de>
To: Max Krasnyanskiy <maxk@...lcomm.com>
Cc: Dimitri Sivanich <sivanich@....com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Jackson <pj@....com>, linux-kernel@...r.kernel.org,
Con Kolivas <kernel@...ivas.org>,
"Derek L. Fults" <dfults@....com>, devik <devik@....cz>,
Dinakar Guniguntala <dino@...ibm.com>,
Emmanuel Pacaud <emmanuel.pacaud@...v-poitiers.fr>,
Frederik Deweerdt <deweerdt@...e.fr>,
Ingo Molnar <mingo@...e.hu>,
Matthew Dobson <colpatch@...ibm.com>,
Nick Piggin <nickpiggin@...oo.com.au>, rostedt@...dmis.org,
Oleg Nesterov <oleg@...sign.ru>,
"Paul E. McKenney" <paulmck@...ibm.com>,
Paul Menage <menage@...gle.com>,
"Randy.Dunlap" <rddunlap@...l.org>, suresh.b.siddha@...el.com,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: Inquiry: Should we remove "isolcpus= kernel boot option? (may have realtime uses)
Hi Max,
On Wednesday 04 June 2008, Max Krasnyanskiy wrote:
> btw Ingo, I just realized that maxcpu= option is exactly what you need.
> Here is how you can use it.
> Boot your system with maxcpus=1. That way the kernel will only bring up
> processor 0. I'm assuming cpu0 is "good" otherwise your system is totally
> busted :). Other cpus will stay off-line and will not be initialized.
> Then once the system boots you can selectively bring "good" processors online
> by doing
> echo 1 > /sys/devices/system/cpu/cpuN/online
>
I just tested it on the Ubuntu Hardy standard kernel on an AMD DualCore.
The /sys/devices/system/cpu/cpu1 entry doesn't show up.
I can send you the dmesg/config in private, if you want.
Did you test your suggestion?
After our discussion, I tried to find the right spot to implement
"disablecpus=" myself, but couldn't find the right position to hook it up.
If your idea would work out, I would ACK it. Even in bold :-)
Best Regards
Ingo Oeser
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists