Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.4]

From: Ingo Molnar
Date: Mon Nov 01 2004 - 08:53:11 EST



* Florian Schmidt <mista.tapas@xxxxxxx> wrote:

> well, how would i best check for the presence of the process/thread "IRQ 8"?

pidof 'IRQ 8' seems to work pretty well.

> Although: is rtc always garanteed to be "IRQ 8" or is this only the
> case on ia32 with XT-PIC?

no. But the following command should work even if rtc is not on
IRQ8:

chrt -f 99 -p `pidof "IRQ \`ls -d /proc/irq/*/rtc | cut -d/ -f4\`"`

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/