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

timer irqs when no preemption



Hi,

When preemption is disabled, what happens if a timer interrupt occurs
when a process is in a system call? I would guess the handler would
update process times, and if a schedule is pending, it occurs as soon
as the process returns from the system call. Is that correct?

Another question - the irqs are disabled at times (like when a
spinlock is held). Does this cause any lost timer ticks?

Thanks,
Bahadir

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