diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2023-07-06 17:24:41 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-18 10:12:12 -0700 |
commit | 8f21912a4bf854e51b3ba69298f559f976d63685 (patch) | |
tree | d7ae83780c5da5187849a863f65d0cf6d922739e | |
parent | bded67f81ec47e6054ad24c1c7992a6523a9b2c6 (diff) | |
download | lwn-8f21912a4bf854e51b3ba69298f559f976d63685.tar.gz lwn-8f21912a4bf854e51b3ba69298f559f976d63685.zip |
mm: remove obsolete comment above struct per_cpu_pages
Since commit 01b44456a7aa ("mm/page_alloc: replace local_lock with normal
spinlock"), per_cpu_pages is protected by normal spinlock. Remove the
obsolete comment as it's not that helpful.
Link: https://lkml.kernel.org/r/20230706092441.1574950-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | include/linux/mmzone.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 5e50b78d58ea..4106fbc5b4b3 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -676,7 +676,6 @@ enum zone_watermarks { #define high_wmark_pages(z) (z->_watermark[WMARK_HIGH] + z->watermark_boost) #define wmark_pages(z, i) (z->_watermark[i] + z->watermark_boost) -/* Fields and list protected by pagesets local_lock in page_alloc.c */ struct per_cpu_pages { spinlock_t lock; /* Protects lists field */ int count; /* number of pages in the list */ |