The commit is pushed to "branch-rh10-6.12.0-211.16.1.12.x.vz10-ovz" and will
appear at [email protected]:openvz/vzkernel.git
after rh10-6.12.0-211.16.1.12.4.vz10
------>
commit ab4eae7b155fcf8d94b09f24682b1dcad4fde6d7
Author: Pavel Tikhomirov <[email protected]>
Date: Fri Jun 19 12:04:06 2026 +0200
mm/memcontrol: drop mappedtodisk from cache folio flag sanity check
PG_mappedtodisk is a normal flag for file page cache folios, so it does
not belong in the WARN_ON listing flags incompatible with a cache charge.
https://virtuozzo.atlassian.net/browse/VSTOR-134021
Fixes: 0ad1e82744aba ("mm: Memory cgroup page cache limit")
Feature: mm: Memory cgroup page cache limit
Reported-by: Konstantin Khorenko <[email protected]>
Signed-off-by: Pavel Tikhomirov <[email protected]>
---
mm/memcontrol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index c6c45d4351dd0..6301319529ee0 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -5661,7 +5661,7 @@ void mem_cgroup_replace_folio(struct folio *old, struct
folio *new)
*/
WARN_ON(folio_test_slab(new) || folio_test_swapcache(new) ||
folio_test_anon(new) || folio_test_swapbacked(new) ||
- folio_test_ksm(new) || folio_test_mappedtodisk(new));
+ folio_test_ksm(new));
}
css_get(&memcg->css);
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel