Commit c70cd039 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Tejun Heo

cpuset: Fix kernel-doc

Fix the following W=1 kernel warnings:

kernel/cgroup/cpuset.c:3718: warning: expecting prototype for
cpuset_memory_pressure_bump(). Prototype was for
__cpuset_memory_pressure_bump() instead.

kernel/cgroup/cpuset.c:3568: warning: expecting prototype for
cpuset_node_allowed(). Prototype was for __cpuset_node_allowed()
instead.
Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 467a726b
...@@ -3524,8 +3524,8 @@ static struct cpuset *nearest_hardwall_ancestor(struct cpuset *cs) ...@@ -3524,8 +3524,8 @@ static struct cpuset *nearest_hardwall_ancestor(struct cpuset *cs)
return cs; return cs;
} }
/** /*
* cpuset_node_allowed - Can we allocate on a memory node? * __cpuset_node_allowed - Can we allocate on a memory node?
* @node: is this an allowed node? * @node: is this an allowed node?
* @gfp_mask: memory allocation flags * @gfp_mask: memory allocation flags
* *
...@@ -3696,8 +3696,8 @@ void cpuset_print_current_mems_allowed(void) ...@@ -3696,8 +3696,8 @@ void cpuset_print_current_mems_allowed(void)
int cpuset_memory_pressure_enabled __read_mostly; int cpuset_memory_pressure_enabled __read_mostly;
/** /*
* cpuset_memory_pressure_bump - keep stats of per-cpuset reclaims. * __cpuset_memory_pressure_bump - keep stats of per-cpuset reclaims.
* *
* Keep a running average of the rate of synchronous (direct) * Keep a running average of the rate of synchronous (direct)
* page reclaim efforts initiated by tasks in each cpuset. * page reclaim efforts initiated by tasks in each cpuset.
...@@ -3712,7 +3712,7 @@ int cpuset_memory_pressure_enabled __read_mostly; ...@@ -3712,7 +3712,7 @@ int cpuset_memory_pressure_enabled __read_mostly;
* "memory_pressure". Value displayed is an integer * "memory_pressure". Value displayed is an integer
* representing the recent rate of entry into the synchronous * representing the recent rate of entry into the synchronous
* (direct) page reclaim by any task attached to the cpuset. * (direct) page reclaim by any task attached to the cpuset.
**/ */
void __cpuset_memory_pressure_bump(void) void __cpuset_memory_pressure_bump(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment