Skip to content
Commit 8e464522 authored by Haifeng Xu's avatar Haifeng Xu Committed by Tejun Heo
Browse files

cpuset: Clean up cpuset_node_allowed



Commit 002f2906 ("cpuset: use static key better and convert to new API")
has used __cpuset_node_allowed() instead of cpuset_node_allowed() to check
whether we can allocate on a memory node. Now this function isn't used by
anyone, so we can do the follow things to clean up it.

1. remove unused codes
2. rename __cpuset_node_allowed() to cpuset_node_allowed()
3. update comments in mm/page_alloc.c

Suggested-by: default avatarWaiman Long <longman@redhat.com>
Signed-off-by: default avatarHaifeng Xu <haifeng.xu@shopee.com>
Acked-by: default avatarWaiman Long <longman@redhat.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 4cdb91b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment