Re: schedulting in SMP machine

2007-01-23 Thread sandeep lahane
On 1/23/07, Rajat Jain <[EMAIL PROTECTED]> wrote: On 1/23/07, sandeep lahane <[EMAIL PROTECTED]> wrote: > 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

Re: Why can't an ISR cause a page fault?

2007-01-23 Thread sandeep lahane
On 1/23/07, Daniel Rodrick <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I read that ISRs can never cause a page fault. Why is that? What would > > happen if an ISR tries to use a data item that has been swapped out? > Just a guess, when page fault occurs, page fault handler is invoked > which is a

Re: Why can't an ISR cause a page fault?

2007-01-23 Thread sandeep lahane
On 1/23/07, sandeep lahane <[EMAIL PROTECTED]> wrote: On 1/23/07, Daniel Rodrick <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I read that ISRs can never cause a page fault. Why is that? What would > > > happen if an ISR tries to use a data item that has been swapped out? > > > Just a guess, w

Re: Why can't an ISR cause a page fault?

2007-01-23 Thread sandeep lahane
On 1/23/07, Daniel Rodrick <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I read that ISRs can never cause a page fault. Why is that? What would > > happen if an ISR tries to use a data item that has been swapped out? > Just a guess, when page fault occurs, page fault handler is invoked > which is a

Re: Why can't an ISR cause a page fault?

2007-01-23 Thread Daniel Rodrick
> Hi, > > I read that ISRs can never cause a page fault. Why is that? What would > happen if an ISR tries to use a data item that has been swapped out? Just a guess, when page fault occurs, page fault handler is invoked which is another ISR. This page fault handler handler does the required stu

Re: schedulting in SMP machine

2007-01-23 Thread Rajat Jain
On 1/23/07, sandeep lahane <[EMAIL PROTECTED]> wrote: 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 st

Re: Why can't an ISR cause a page fault?

2007-01-23 Thread sandeep lahane
Just a guess, when page fault occurs, page fault handler is invoked which is another ISR. This page fault handler handler does the required stuff like bringing the data in to memory etc. This introduces delays , and delayes are not supposed to be there in ISR. I think when a process causes a page

Re: schedulting in SMP machine

2007-01-23 Thread sandeep lahane
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

schedulting in SMP machine

2007-01-23 Thread Rick Brown
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 -

Why can't an ISR cause a page fault?

2007-01-23 Thread Daniel Rodrick
Hi, I read that ISRs can never cause a page fault. Why is that? What would happen if an ISR tries to use a data item that has been swapped out? Thanks, Dan - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info