diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-11-13 00:11:23 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 04:09:34 +0100 |
commit | 0d20633b041041ecda39ae562e62087acf0092f1 (patch) | |
tree | fdc3283c0a96c22705c103b04a87567029a9c4a8 /kernel/gcov/gcov.h | |
parent | kernel/taskstats.c: add nla_nest_cancel() for failure processing between nla_... (diff) | |
download | linux-0d20633b041041ecda39ae562e62087acf0092f1.tar.xz linux-0d20633b041041ecda39ae562e62087acf0092f1.zip |
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 <gang.chen@asianux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions