Thread (5 messages) 5 messages, 3 authors, 2023-03-24

Re: [PATCH] cpuset: Clean up cpuset_node_allowed

From: Tejun Heo <tj@kernel.org>
Date: 2023-03-17 21:45:43
Also in: cgroups, lkml

On Tue, Feb 28, 2023 at 08:35:37AM +0000, Haifeng Xu wrote:
Commit 002f290627c2 ("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: Waiman Long <longman@redhat.com>
Signed-off-by: Haifeng Xu <redacted>
Waiman, can you review and ack?

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help