Files
linux-legacy/include/linux
Shailabh Nagar c8924363da [PATCH] per-task delay accounting: avoid send without listeners
Don't send taskstats (per-pid or per-tgid) on thread exit when no one is
listening for such data.

Currently the taskstats interface allocates a structure, fills it in and
calls netlink to send out per-pid and per-tgid stats regardless of whether
a userspace listener for the data exists (netlink layer would check for
that and avoid the multicast).

As a result of this patch, the check for the no-listener case is performed
early, avoiding the redundant allocation and filling up of the taskstats
structures.

Signed-off-by: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Shailabh Nagar <nagar@watson.ibm.com>
Cc: Jay Lan <jlan@engr.sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-14 21:53:57 -07:00
..
2006-07-03 15:27:06 -07:00
2006-07-03 19:44:51 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-14 21:53:56 -07:00
2006-07-14 21:53:55 -07:00
2006-07-05 23:02:48 -04:00
2006-07-12 16:05:48 -07:00
2006-07-03 19:48:25 -07:00
2006-07-08 13:34:32 -07:00
2006-07-12 16:03:20 -07:00
2006-07-10 13:24:25 -07:00