The HyperNews Linux KHG Discussion Pages
Next-in-Thread Next Message Previous Message Next Thread

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 <erik@unterland.de>

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

Next-in-Thread Next Message Previous Message Next Thread

Messages Inline: 0 1 All Outline: 1 -1 +1

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

to: "sti() called too late."

Subscribe Membership Move/Remove Admin Mode Show Frames Help for HyperNews 1.9.4