From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: huh startup_ipi_hook? Date: Sat, 28 Apr 2007 10:45:11 +0200 Message-ID: <200704281045.11461.ak@suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: "Eric W. Biederman" Cc: virtualization@lists.osdl.org List-Id: virtualization@lists.linuxfoundation.org > > I think we should be intercepting this startup call at a higher level, > where we can just say: Start secondary cpu with this stack > and with this esp. Or something like that. The reason VMI tends to thing lower level is that most of its interfaces are like real hardware and of the code would be just copied then if it did high level interfaces. I suspect this specific hook could only be made better if smpboot.c was refactored into more pieces and callable, but I doubt that would be a big overall improvement. -Andi