pcpu_reclaim_populated(9)
π pcpu_reclaim_populated(9) β Kernel API Manual π
okay bestie, this is the pcpu_reclaim_populated(9) page, and it's giving very specific kernel-core energy. iykyk β¨ Let's get into it.
πΈ NAME πΈ
pcpu_reclaim_populated β scan over to_depopulate chunks and free empty pages
β¨ SYNOPSIS β¨
void pcpu_reclaim_populated (void );
that's the whole signature, no cap. π
π ARGUMENTS π
voidβ no arguments. literally none, bestie. π«Ά
π¦ DESCRIPTION π¦
- Scan over chunks in the depopulate list and try to release unused populated pages back to the system. π
- Depopulated chunks are sidelined to prevent repopulating these pages unless required.
- Fully free chunks are reintegrated and freed accordingly (
1is kept around). π - If we drop below the empty populated pages threshold, reintegrate the chunk if it has empty free pages.
- Each chunk is scanned in reverse order to keep populated pages close to the beginning of the chunk. π¦
π CONTEXT π
pcpu_lock (can be dropped temporarily). π«Ά
π SEE ALSO π
- Kernel file
./mm/percpu.c pcpu_addr_in_chunk(9)pcpu_check_block_hint(9)pcpu_next_md_free_region(9)pcpu_next_fit_region(9)pcpu_mem_zalloc(9)pcpu_mem_free(9)pcpu_chunk_relocate(9)pcpu_block_update(9)pcpu_chunk_refresh_hint(9)pcpu_block_refresh_hint(9)pcpu_block_update_hint_alloc(9)pcpu_block_update_hint_free(9)pcpu_is_populated(9)pcpu_find_block_fit(9)pcpu_alloc_area(9)pcpu_free_area(9)pcpu_alloc_first_chunk(9)pcpu_chunk_populated(9)pcpu_chunk_depopulated(9)pcpu_chunk_addr_search(9)pcpu_alloc(9)pcpu_balance_free(9)pcpu_balance_populated(9)pcpu_balance_workfn(9)free_percpu(9)is_kernel_percpu_address(9)per_cpu_ptr_to_phys(9)pcpu_alloc_alloc_info(9)pcpu_free_alloc_info(9)pcpu_dump_alloc_info(9)pcpu_setup_first_chunk(9)pcpu_build_alloc_info(9)pcpu_embed_first_chunk(9)pcpu_page_first_chunk(9)
okay that's the whole page, bestie! source/version: ./mm Β· date: October 2026 Β· and the main character of this whole thing is pcpu_reclaim_populated(9). bye, ily! π«Άβ¨
π¦ 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