summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUsama Arif <usama.arif@linux.dev>2026-09-24 12:11:03 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-09-29 23:14:06 -0700
commit49fbc64a98779e96754ed209d302fffe98193236 (patch)
tree22ad0cda73611e7018b3e6a8c89c034c1d194f50
parenta9e8b9722a5a64522ad5c9aefafd4b31bee7681d (diff)
downloadlinux-next-49fbc64a98779e96754ed209d302fffe98193236.tar.gz
linux-next-49fbc64a98779e96754ed209d302fffe98193236.zip
mm: remove the unused zone->unaccepted_cleanup
Commit fefc07518227 ("mm/page_alloc: fix race condition in unaccepted memory handling") removed the zones_with_unaccepted_pages static key and the work that decremented it, but left the work_struct behind in struct zone. Nothing uses it anymore, so let's remove it. Link: https://lore.kernel.org/20260924191103.3475117-1-usama.arif@linux.dev Signed-off-by: Usama Arif <usama.arif@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: David Hildenbrand (Arm) <david@kernel.org> Reviewed-by: Shakeel Butt <shakeel.butt@linux.dev> Reviewed-by: Johannes Weiner <hannes@cmpxchg.org> Reviewed-by: Barry Song <baohua@kernel.org> Reviewed-by: Kiryl Shutsemau (Meta) <kas@kernel.org> Cc: Axel Rasmussen <axelrasmussen@google.com> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Baoquan He <baoquan.he@linux.dev> Cc: Kairui Song <kasong@tencent.com> Cc: Liam R. Howlett <liam@infradead.org> Cc: Lorenzo Stoakes <ljs@kernel.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Qi Zheng <qi.zheng@linux.dev> Cc: Mike Rapoport <rppt@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@kernel.org> Cc: Wei Xu <weixugc@google.com> Cc: Yuanchu Xie <yuanchu@google.com>
-rw-r--r--include/linux/mmzone.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 851b14c91cb1..3b96d6c7123b 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -1077,9 +1077,6 @@ struct zone {
#ifdef CONFIG_UNACCEPTED_MEMORY
/* Pages to be accepted. All pages on the list are MAX_PAGE_ORDER */
struct list_head unaccepted_pages;
-
- /* To be called once the last page in the zone is accepted */
- struct work_struct unaccepted_cleanup;
#endif
/* zone flags, see below */