Re: [Patch][RFC] Disabling per-tgid stats on task exit in taskstats

Shailabh Nagar
2006-07-05T18:18:42Z

Jay Lan wrote:
> Shailabh Nagar wrote:
>
>
>>Yes. If no one registers to listen on a particular CPU, data from tasks
>>exiting on that cpu is not sent out at all.
>
>
> Shailabh also wrote:
>
>
>>During task exit, kernel goes through each registered listener (small
>>list) and decides which
>>one needs to get this exit data and calls a genetlink_unicast to each
>>one that does need it.
>
>
>
> Are we eliminating multicast taskstats data at exit time?

Yes. Only unicasts to each listener now.

> A unicast
> exit data with cpumask will do for me, but just like to be sure where
> we are.