Opened 9 years ago

Last modified 6 years ago

#599 new defect

Ultimate way to prevent the decrementer from underflowing

Reported by: Jakub Jermář Owned by: Martin Decky
Priority: major Milestone:
Component: helenos/kernel/ppc32 Version: mainline
Keywords: decrementer Cc:
Blocker for: Depends on:
See also:


In kernel/arch/ppc32/src/asm.S, there is:


        /* Reset decrementer */

        li r31, 1000
        mtdec r31

This is definitely wrong, especially now when the kernel can program the decrementer with a proper value to achieve its own HZ clock() frequency.

A more systematic approach for preventing the decrementer from underflowing and missing the decrementer exception is needed.

Change History (2)

comment:1 by Jakub Jermář, 9 years ago


comment:2 by Jakub Jermář, 6 years ago

Milestone: 0.7.1
Note: See TracTickets for help on using tickets.