Skip to content

Commit 8f21912

Browse files
MiaoheLinakpm00
authored andcommitted
mm: remove obsolete comment above struct per_cpu_pages
Since commit 01b4445 ("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/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent bded67f commit 8f21912

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/mmzone.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,6 @@ enum zone_watermarks {
676676
#define high_wmark_pages(z) (z->_watermark[WMARK_HIGH] + z->watermark_boost)
677677
#define wmark_pages(z, i) (z->_watermark[i] + z->watermark_boost)
678678

679-
/* Fields and list protected by pagesets local_lock in page_alloc.c */
680679
struct per_cpu_pages {
681680
spinlock_t lock; /* Protects lists field */
682681
int count; /* number of pages in the list */

0 commit comments

Comments
 (0)