Re: [tip:sched/core] sched: Do not account irq time to current task
From: Venkatesh Pallipadi
Date: Wed Dec 01 2010 - 13:56:12 EST
On Mon, Nov 29, 2010 at 9:57 PM, Yong Zhang <yong.zhang0@xxxxxxxxx> wrote:
> On Tue, Nov 30, 2010 at 1:06 AM, Raistlin <raistlin@xxxxxxxx> wrote:
>> On Mon, 2010-11-29 at 22:22 +0800, Yong Zhang wrote:
>>> > If you still want to throttle RT tasks simply ensure their bandwidth
>>> > constraint is lower than the available time.
>>>
>>> But the available time is harder to calculated than before.
>>>
>> Well, it shouldn't... I would say it makes it easier! :-P
>
> It depends on the way how we see it.
> From the side that we can just focus on task time, it's easy
> and well understood. :)
>
> Now I think we need a way to export the irq_time to user,
> then the user can determine the average time spending
> on IRQ.
> Maybe Venkatesh Pallipadi's patchset titled "Proper
> kernel irq time reporting" is the one.
>
Yes. That second patchset exports this information through /proc/stat.
Peter: Can you pull that patchset into tip.
Thanks,
Venki
--
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/