Re: [linux-next:master] [mm] bbcbf2a3f0: kernel_BUG_at_mm/memory.c

From: David Hildenbrand
Date: Thu Dec 21 2023 - 17:15:10 EST


On 21.12.23 23:13, Matthew Wilcox wrote:
On Thu, Dec 21, 2023 at 11:07:21PM +0100, David Hildenbrand wrote:
Subject: [PATCH] Fixup: mm: convert ksm_might_need_to_copy() to work on folios

We must only adjust the page if the folio changed. Otherwise, if we
had a large folio in the swapcache and the folio didn't change, we'd
suddenly change the page to-be-mapped.

Heh, I was expecting you to be done for the day ;-)

I was expecting that myself, but here I am ... :)

--
Cheers,

David / dhildenb