v7
2026-10-14
slab 桶 msg_msg 计费修正 · v7
v7:标注 kmem_buckets_create 上下文,并让 msg_msg 用 GFP_KERNEL_ACCOUNT 计账。
原始补丁链接
子 Patch(2)
1/2
mm/slab: Mark the kmem_buckets_create() context as a Context: section
kmem_buckets_create() had the same sentence about calling context as kmem_cache_create(), but lacked the “Context:” prefix, so kernel-doc rendered in the body instead of as a “context” section. Give
2/2
ipc, msg: Account msg_msg allocations with GFP_KERNEL_ACCOUNT again
Since commit 734bbc1c97ea7 (“ipc, msg: Use dedicated slab buckets for alloc_msg()”), alloc_msg() allocates with GFP_KERNEL, and a msg_msg is accounted only through SLAB_ACCOUNT on its bucket caches. W