Re: [PATCH 01/14] mm/lru: move pgdat lru_lock into lruvec

From: Matthew Wilcox
Date: Tue Aug 20 2019 - 09:48:10 EST


On Tue, Aug 20, 2019 at 05:48:24PM +0800, Alex Shi wrote:
> +++ b/include/linux/mmzone.h
> @@ -295,6 +295,9 @@ struct zone_reclaim_stat {
>
> struct lruvec {
> struct list_head lists[NR_LRU_LISTS];
> + /* move lru_lock to per lruvec for memcg */
> + spinlock_t lru_lock;

This comment makes no sense outside the context of this patch.