Re: [PATCH linux-next v2] net: record times of netdev_budget exhausted

From: yang.yang29
Date: Tue Dec 06 2022 - 00:48:29 EST


On Tue, Dec 6, 2022 at 11:18 AM Eric Dumazet <edumazet@xxxxxxxxxx,> wrote:
> Yes, and if we really want to track all these kinds of events the
> break caused by need_resched() in do_softirq would
> also need some monitoring.

I think this situation is a bit different. The break caused by
need_resched() in __do_softirq() is some kind of internal
events, kernel hacker may track it by something like tracepoint.

But netdev_budget* are sysctl for administrator, when
administrator adjust them, they may want to see the
effect in a direct or easy way.