From: Prakash Manannavar on
Hi all,

I have some confusions regarding the uni-processor operating system and
multi-processor operating system.

1. Is there any change in the architecture of the OS?
2. How the Interrupt scheduling and DPC handling done?


Kindly give some information regarding the above.

--
~~~~~
Prakash A Manannavar,
Bangalore/Bengaluru.
From: Maxim S. Shatskih on
> 1. Is there any change in the architecture of the OS?

Yes, for instance, in SMP OS, everything is protected by the spinlocks :-)

For a better answer, read any classic book on OS development.

> 2. How the Interrupt scheduling and DPC handling done?

(A)PIC decides what CPU to interrupt in each particular case.

With MSI, the hardware device itself (APIC is not used) makes this decision.

DPC is usually scheduled on the same CPU where ISR is running.

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

From: m on
IIRC in modern versions of Windows, the UP kernel is obsolete and the
multi-processor kernel is used on all hardware.


"Maxim S. Shatskih" <maxim(a)storagecraft.com.no.spam> wrote in message
news:OcOcwzeOLHA.6100(a)TK2MSFTNGP05.phx.gbl...
>> 1. Is there any change in the architecture of the OS?
>
> Yes, for instance, in SMP OS, everything is protected by the spinlocks :-)
>
> For a better answer, read any classic book on OS development.
>
>> 2. How the Interrupt scheduling and DPC handling done?
>
> (A)PIC decides what CPU to interrupt in each particular case.
>
> With MSI, the hardware device itself (APIC is not used) makes this
> decision.
>
> DPC is usually scheduled on the same CPU where ISR is running.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> maxim(a)storagecraft.com
> http://www.storagecraft.com
>
From: Maxim S. Shatskih on
Yes, on Vista+

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

"m" <m(a)b.c> wrote in message news:OaDhG1mOLHA.5700(a)TK2MSFTNGP04.phx.gbl...
> IIRC in modern versions of Windows, the UP kernel is obsolete and the
> multi-processor kernel is used on all hardware.
>
>
> "Maxim S. Shatskih" <maxim(a)storagecraft.com.no.spam> wrote in message
> news:OcOcwzeOLHA.6100(a)TK2MSFTNGP05.phx.gbl...
>>> 1. Is there any change in the architecture of the OS?
>>
>> Yes, for instance, in SMP OS, everything is protected by the spinlocks :-)
>>
>> For a better answer, read any classic book on OS development.
>>
>>> 2. How the Interrupt scheduling and DPC handling done?
>>
>> (A)PIC decides what CPU to interrupt in each particular case.
>>
>> With MSI, the hardware device itself (APIC is not used) makes this
>> decision.
>>
>> DPC is usually scheduled on the same CPU where ISR is running.
>>
>> --
>> Maxim S. Shatskih
>> Windows DDK MVP
>> maxim(a)storagecraft.com
>> http://www.storagecraft.com
>>