mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
mm: remove obsolete comment above struct per_cpu_pages
Since commit 01b44456a7
("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>
This commit is contained in:
parent
bded67f81e
commit
8f21912a4b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user