]> git.baikalelectronics.ru Git - kernel.git/commit
taskstats: split fill_pid function
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Wed, 27 Oct 2010 22:34:44 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:17 +0000 (18:03 -0700)
commit49ec3fca8af80128ce8e3ef4b0191c83a93df44e
tree508a9c06b48d5a232d669c6f95b4d3e8e4c2950c
parentf177fbcd5ccf9e1bfd2eae258533909cc5dd1914
taskstats: split fill_pid function

Separate the finding of a task_struct by pid or tgid from filling the
taskstats data. This makes the code more readable.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/taskstats.c