Re: [Resend PATCH 1/6] mm/memcg: warning on !memcg after readahead page charged

From: Alex Shi
Date: Mon Aug 24 2020 - 19:16:18 EST




在 2020/8/25 上午7:00, Stephen Rothwell 写道:
>>>> This will trigger,
>>> Andrew, Stephen, can you drop this series for now? I did manage to trigger this
>>> warning on all arches, powerpc, x86 and arm64 (below).
>> Yes, I do agree. See http://lkml.kernel.org/r/20200824151013.GB3415@xxxxxxxxxxxxxx
> OK, I have removed the following from linux-next for today:
>
> c443db77c9f3 ("mm/thp: narrow lru locking")
> 18bafefba73d ("mm/thp: remove code path which never got into")
> 5fb6c0683017 ("mm/thp: clean up lru_add_page_tail")
> 9d1d568727a8 ("mm/thp: move lru_add_page_tail func to huge_memory.c")
> 47eb331560ff ("mm/memcg: bail out early from swap accounting when memcg is disabled")
> 4b0d99a64d78 ("mm/memcg: warning on !memcg after readahead page charged")

The first patch 4b0d99a64d78 ("mm/memcg: warning on !memcg after readahead page charged")
reveals the hugetlb out of lru on some unexpected path. At least comments are helpful.

All other are good and functional.

Thanks
Alex