what happens if a processor is added or removed ?

Hi, I was reading about KeRegisterProcessorChangeCallback and was wondering
what happens if a processor is added to the system. Will the interrupt
vectors and their service routines from the CPUs which are already running
automatically get duplicated to the new CPU ? What happens with the
interrupt vectors if they target a specific processor, or what will happen
with DPCs with a specific target processor specified, or with threads with a
certain affinity if the targeted processor is removed ? Will Windows
rebalance everything ?

//Daniel

First of all, we don’t support processor removal, at least not in any OS
we’ve sent to market. We may some day support such a thing, but you don’t
currently need to worry about that case.

Second, you can invalidate your resource requirements in the callback, which
will trigger a rearbitration, at which point you can claim new message
signaled interrupts on the newly inserted processors.


Jake Oshins
Hyper-V I/O Architect
Windows Kernel Group

This post implies no warranties and confers no rights.


wrote in message news:xxxxx@ntdev…
> Hi, I was reading about KeRegisterProcessorChangeCallback and was
> wondering what happens if a processor is added to the system. Will the
> interrupt vectors and their service routines from the CPUs which are
> already running automatically get duplicated to the new CPU ? What happens
> with the interrupt vectors if they target a specific processor, or what
> will happen with DPCs with a specific target processor specified, or with
> threads with a certain affinity if the targeted processor is removed ?
> Will Windows rebalance everything ?
>
> //Daniel
>
>
>
>