aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChen Gang <[email protected]>2013-11-12 15:11:23 -0800
committerLinus Torvalds <[email protected]>2013-11-13 12:09:34 +0900
commit0d20633b041041ecda39ae562e62087acf0092f1 (patch)
treefdc3283c0a96c22705c103b04a87567029a9c4a8 /tools
parent3fa582663129330d57d15b97ae534dc1203fc3aa (diff)
kernel/taskstats.c: return -ENOMEM when alloc memory fails in add_del_listener()
For registering in add_del_listener(), when kmalloc_node() fails, need return -ENOMEM instead of success code, and cmd_attr_register_cpumask() wants to know about it. After modification, give a simple common test "build -> boot up -> kernel/controllers/cgroup/getdelays by LTP tools". Signed-off-by: Chen Gang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions