The HyperNews Linux KHG Discussion Pages

Sad: sti() called too late.

Forum: The Linux Kernel Hackers' Guide
Keywords: cli() IRQ rtc realtime timer lost
Date: Sat, 18 Jan 1997 11:00:12 GMT
From: Erik Thiele <[email protected]>

Hello

i read the /dev/rtc (Realtime clock) driver, mutated it and wrote my own little module, that get's called 8192 times per second via SA_INTERRUPT (highest possible priority) IRQ 8. ok. if harddisk interrupts occur, some timer interrupts get lost. this is also mentioned in the original rtc driver. this happens, because cli is "active" too long. WHY doesn't the harddisk driver do a sti() as early as possible ???

i don't think this is good code.

:)

byebye Erik


Messages

1. None: sti() called too late. by Gadi Oxman