sched: rt: account the cpu time during the tick
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 20 Dec 2007 14:01:17 +0000 (15:01 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 20 Dec 2007 14:01:17 +0000 (15:01 +0100)
commit67e2be02328b9a61a9c799fbdd4ec94d7da0c323
treee351636bbe95a1677d21b2dfb07d1fdcca70b2f0
parentfbdcf18df73758b2e187ab94678b30cd5f6ff9f9
sched: rt: account the cpu time during the tick

Realtime tasks would not account their runtime during ticks. Which would lead
to:

        struct sched_param param = { .sched_priority = 10 };
        pthread_setschedparam(pthread_self(), SCHED_FIFO, &param);

while (1) ;

Not showing up in top.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched_rt.c