[PATCH] taskstats_tgid_alloc: optimization
authorOleg Nesterov <oleg@tv-sign.ru>
Sat, 28 Oct 2006 17:38:52 +0000 (10:38 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 28 Oct 2006 18:30:54 +0000 (11:30 -0700)
commit17b02695b254aa2ef0e53df9c8e6548f86e66a9d
tree6d39c830549641e3b73ad8881f0aecbd1d680ee6
parent093a8e8aecd77b2799934996a55a6838e1e2b8f3
[PATCH] taskstats_tgid_alloc: optimization

Every subthread (except first) does unneeded kmem_cache_alloc/kmem_cache_free.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Shailabh Nagar <nagar@watson.ibm.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: Jay Lan <jlan@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/taskstats_kern.h