The reason is the same as in case of tcache: auxiliary kmem allocations, namely radix-tree nodes, are used for storing tswap pages on the host and so belong to the host and reclaimed only on global pressure.
https://jira.sw.ru/browse/PSBM-35205 Signed-off-by: Vladimir Davydov <[email protected]> --- mm/tswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/tswap.c b/mm/tswap.c index dc1253f8e5b2..349a83dc0578 100644 --- a/mm/tswap.c +++ b/mm/tswap.c @@ -16,7 +16,7 @@ #define TSWAP_GFP_MASK (GFP_NOIO | __GFP_NORETRY | __GFP_NOWARN) -static RADIX_TREE(tswap_page_tree, GFP_ATOMIC | __GFP_NOWARN); +static RADIX_TREE(tswap_page_tree, GFP_ATOMIC | __GFP_NOWARN | __GFP_NOACCOUNT); static DEFINE_SPINLOCK(tswap_lock); struct tswap_lru { -- 2.1.4 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
