timer irqs when no preemption

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

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux