Conversation

As an addition, using separate caches for accounting was introduced again in 5.14, as pointed out by :
Quote Tweet
linux kernel introduced kmalloc-cg-* in 5.14. allocations using GFP_KERNEL_ACCOUNT will go in there. no wonder i cant use msg_msg spray on 5.17 while on Ubuntu 21.10 (5.13) i still can use it. github.com/torvalds/linux
ahh what I was referring to is general purpose allocations with GFP_KERNEL_ACCOUNT. that's true MEMCG would make accounted special-purpose caches non-mergeable regardless of the kern version. if it's disabled then there's no kmem accounting. I'll expand 👍
1
2
Show replies