summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/ecryptfs_kernel.h
diff options
context:
space:
mode:
authorOleg Nesterov2006-10-31 07:07:15 +0100
committerLinus Torvalds2006-10-31 17:07:00 +0100
commit4a279ff1ea1cf325775ada983035123fcdc8e986 (patch)
treed22332ae377a02c5c70021ed53395d65fb95b067 /fs/ecryptfs/ecryptfs_kernel.h
parent[PATCH] uml: add INITCALLS (diff)
downloadkernel-qcow2-linux-4a279ff1ea1cf325775ada983035123fcdc8e986.tar.gz
kernel-qcow2-linux-4a279ff1ea1cf325775ada983035123fcdc8e986.tar.xz
kernel-qcow2-linux-4a279ff1ea1cf325775ada983035123fcdc8e986.zip
[PATCH] taskstats: fix sub-threads accounting
If there are no listeners, taskstats_exit_send() just returns because taskstats_exit_alloc() didn't allocate *tidstats. This is wrong, each sub-thread should do fill_tgid_exit() on exit, otherwise its ->delays is not recorded in ->signal->stats and lost. Q: We don't send TASKSTATS_TYPE_AGGR_TGID when single-threaded process exits. Is it good? How can the listener figure out that it was actually a process exit, not sub-thread? Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Balbir Singh <balbir@in.ibm.com> Acked-by: Shailabh Nagar <nagar@watson.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
0 files changed, 0 insertions, 0 deletions