pcpu_obj_full_size(9)
π pcpu_obj_full_size(9) π
okay bestie, welcome to the pcpu_obj_full_size(9) page from the Kernel API Manual π«Ά this one is short, sweet, and very much giving βtiny helper, big jobβ energy π
β¨ NAME β¨
pcpu_obj_full_size β helper to calculate size of each accounted object. literally does what it says on the tin β¨
πΈ SYNOPSIS πΈ
the signature, character for character:
size_t pcpu_obj_full_size (size_t size );
π ARGUMENTS π
sizeβ the size of the area to allocate, measured in bytes. yes bestie, bytes π«Ά
π DESCRIPTION π
okay so for each accounted object, thereβs an extra space thatβs used to store obj_cgroup membership if kmemcg is not disabled. and yeah β this helper charges that extra space too πΈβ¨ no sneaky free space here, periodt.
π¦ SEE ALSO π¦
Kernel file ./mm/percpu-internal.h β plus these cuties: pcpu_chunk_nr_blocks(9), pcpu_nr_pages_to_map_bits(9), and pcpu_chunk_map_bits(9). iykyk π
mwah π sign-off time: this page is from source/version ./mm, dated October 2026, and itβs the pcpu_obj_full_size(9) page. bye bestie, go read the kernel with main character energy ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms