aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/stacktrace.c
diff options
context:
space:
mode:
authorTomasz Buchert <tomasz.buchert@inria.fr>2010-10-27 15:33:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 18:03:08 -0700
commitd5de4ddb1bc430289bede76c0d87cabee93f749a (patch)
tree142ebbc437d2d6e5c47eda6c37847eb058d2851e /kernel/stacktrace.c
parentdoc: clarify the behaviour of dirty_ratio/dirty_bytes (diff)
downloadlinux-dev-d5de4ddb1bc430289bede76c0d87cabee93f749a.tar.xz
linux-dev-d5de4ddb1bc430289bede76c0d87cabee93f749a.zip
cgroup_freezer: unnecessary test in cgroup_freezing_or_frozen()
The root freezer_state is always CGROUP_THAWED so we can remove the special case from the code. The test itself can be handy and is extracted to static function. Signed-off-by: Tomasz Buchert <tomasz.buchert@inria.fr> Cc: Matt Helsley <matthltc@us.ibm.com> Cc: Paul Menage <menage@google.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions