diff options
author | Dongsheng Yang <yangds.fnst@cn.fujitsu.com> | 2015-12-21 19:14:42 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-03-21 10:59:29 +0100 |
commit | 1a736b77a3f50910843d076623204ba6e5057dc1 (patch) | |
tree | a50c42c957b5b3ebb15d727001669276e7521799 /kernel/sched/cpuacct.h | |
parent | d4335581dc30ec6545999c7443bb9fead274a980 (diff) | |
download | linux-1a736b77a3f50910843d076623204ba6e5057dc1.tar.gz linux-1a736b77a3f50910843d076623204ba6e5057dc1.tar.bz2 linux-1a736b77a3f50910843d076623204ba6e5057dc1.zip |
sched/cpuacct: Rename parameter in cpuusage_write() for readability
The name of the 'reset' parameter to cpuusage_write() is quite confusing,
because the only valid value we allow is '0', so !reset is actually the
case that resets ...
Rename it to 'val' and explain it in a comment that we only allow 0.
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: cgroups@vger.kernel.org
Cc: tj@kernel.org
Link: http://lkml.kernel.org/r/1450696483-2864-1-git-send-email-yangds.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/cpuacct.h')
0 files changed, 0 insertions, 0 deletions