Re: process switch...



Oh!! so that mean in the context of above process, whenver the timer
interrupt occures, in kernel mode it will be delievered and schedular
will check now which process it should run.

Now as kernel 2.4.xx is non preemptive in kernel mode, so if some
function of my module is running and meanwhile a timer inturrupt
happens then how come it will be delievered?? I mean, as module runs in
kernel mode, the runnning kernel path should not be preempted in
2.4.xx(non-preemptibility in kernel mode).

I came to know about nesting of interrupt handlers, so I confuse that
if we say that 2.4.xx is non-preemptive in kernel mode, then how come
nesting happens, because here the current kernel path is being altered
so to say it is being preempted with new interrupt handler!!!

Regards,
JayC.

.



Relevant Pages

  • Re: process switch...
    ... interrupt occures, in kernel mode it will be delievered and schedular ... Now as kernel 2.4.xx is non preemptive in kernel mode, ... Interrupts, including timers, can preempt anything, including ... interrupt handlers that are not in a interrupts disabled critical section. ...
    (comp.os.linux.development.system)
  • Re: x86, how does a process switch from user mode to kernel mode
    ... and kernel mode happens in a live processor. ... A user mode process, obviously, can *never* just turn itself on to ... Perhaps 60 times a second, for example, a timer interrupt will take ... call upon the kernel mode part of the operating system to do ...
    (comp.arch)
  • Re: Help understanding how winapi works
    ... So a given process does all it needs via user mode and kernel mode. ... Now if it needs memory allocated this happens in kernel mode (same ... but makes requests to the kernel code. ... So your application executes a software interrupt, the CPU jumps into ring 0 ...
    (microsoft.public.win32.programmer.kernel)
  • Re: signal to a sleeping process...
    ... kernel mode to user mode. ... this doesn't mean that a signal does not interrupt a ...
    (comp.unix.programmer)
  • Re: signal to a sleeping process...
    ... kernel mode to user mode. ... this doesn't mean that a signal does not interrupt a ...
    (comp.unix.programmer)