[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251001090353.57523-1-acsjakub@amazon.de>
Date: Wed, 1 Oct 2025 09:03:51 +0000
From: Jakub Acs <acsjakub@...zon.de>
To: <linux-mm@...ck.org>
CC: <acsjakub@...zon.de>, <akpm@...ux-foundation.org>, <david@...hat.com>,
<xu.xin16@....com.cn>, <chengming.zhou@...ux.dev>, <peterx@...hat.com>,
<axelrasmussen@...gle.com>, <linux-kernel@...r.kernel.org>
Subject: [PATCH v3 0/2] mm, ksm: fix flag-dropping behavior
Hi,
This series fixes a bug in ksm_madvise described in [1/2].
As asked by David in the reply to v2, I separated the change into two
commits:
- first contains minimal fix for the bug to make it
individually-backportable
- second makes the VM_* flag definitions consistent
v1: https://lore.kernel.org/all/20250930063921.62354-1-acsjakub@amazon.de/
v2: https://lore.kernel.org/all/20250930130023.60106-1-acsjakub@amazon.de/
Jakub Acs (2):
mm/ksm: fix flag-dropping behavior in ksm_madvise
mm: redefine VM_* flag constants with BIT()
include/linux/mm.h | 68 +++++++++++++++++++++++-----------------------
1 file changed, 34 insertions(+), 34 deletions(-)
--
2.47.3
Amazon Web Services Development Center Germany GmbH
Tamara-Danz-Str. 13
10243 Berlin
Geschaeftsfuehrung: Christian Schlaeger
Eingetragen am Amtsgericht Charlottenburg unter HRB 257764 B
Sitz: Berlin
Ust-ID: DE 365 538 597
Powered by blists - more mailing lists