cvs commit: src/sys/i386/i386 local_apic.c

Maxim Sobolev sobomax at FreeBSD.org
Thu Sep 28 10:26:31 PDT 2006


Robert Watson wrote:

> It's pretty clear that if we're going to take the hypervisor + dynamic 
> reconfiguration thing seriously, we need a structured notion of adding 
> and removing CPUs from the active CPU pool, including things like event 
> handlers so that subsystems can shut down operations on the CPU.  For 
> example, UMA needs a chance to drain per-CPU caches of various zones, 
> services that have pinned threads on the CPU will need to decide how to 
> deal with that, etc. It's work I'd very much like to see happen, and 
> until it's done we basically need to make sure that CPUs either exist 
> from boot and never cease existing, or don't exist at boot and are never 
> used.

I can't agree more. The whole hlt_cpus_mask change leaves taste of the 
very bad hack.

-Maxim


More information about the cvs-src mailing list