Re: schedulting in SMP machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I dont know much about SMP scheduling but after thinking a while I came up with
following inference, please correct me if I am wrong.

If the ISR and the interrupted process are sharing the stack i.e. of
the ISR doesnt have its own seperate stack in that case moving the
interrupted process will be difficult since lot of book keeping will
be required. Also this would be a fragile situation with chances of
data corruption.

But as far as I know, an ISR can have a separate stack also, this is
configurable.
In this case, moving the interrupted process to another cpu will be
easier/feasible than before.

Regards,
Sandeep.



On 1/23/07, Rick Brown <rick.brown.3@xxxxxxxxx> wrote:
Hi,

If an executing process is interrupted by an interrupt, is it ensured
that it won't get transferred to another idle CPU in the system??

This would mean that despite the fact that a CPU is idle in the
system, still the process will wait untill the ISR finishes its
execution?

Thanks,

Rick

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/




--

Regards,
Sandeep.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux