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

Re: interrupt&syscall





> 
> You can no preempt a process running in kernel mode.  The kernel
> is not preemptive, yet.  Note however that you also have boxes
> with multiple cpu's, and that you require more locking there.

	Does this mean that when I do a system call and the network 
card send an interrupt, it waits until the syscall returns?
> 
> Interupts will always use the kernel stack of the currently
> running process.
> 
> If you raising the interrupt priority level, the interrupt has to
> wait until you lower it again.

	Ok, But how I raise an interrupt priority level in x86, does it
has something to do with the IO-APIC?
> 
> Hope this helps.
> 
> 
> Kurt
> 

--
sourav

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.surriel.com/kernelnewbies.shtml