Kristian Benoit wrote:
On Tue, 2005-07-12 at 23:55 +0200, Hannes Mayer wrote:

I mean, is it possible to get information on how many interrupts were
lost ?


Just a though like that, that depend of what you want to do when you
critical enter.

Suppose you have the domains root and ham. Where root is the Linux
domain and ham is your domain that handle your interrupt. Then if you
add the domain potatoes that is of higher priority than root and ham.
You can suspend the domain potatoes most of the time, but when you stall
(stalling instead of critical_enter is the key) the domain ham you can
resume the domain potatoes that will count the number of interrupt
receive upon reception of your interrupt. Then when you unstall the
domain ham, you get the count from the domain potatoes and resuspend it.

Kristian

Thanks a lot Kristian and Philippe for your answers and tips!
I've got some good pointers now for further research!
If a day would just have 36 hours ;-)

Best regards,
Hannes.


Reply via email to