page_counter_cancel(9)
β¨ NAME β¨
okay so bestie, we're in the Kernel API Manual and today's icon is page_counter_cancel(9) β the function that takes pages out of the local counter π
β¨ no cap, that's the whole name vibe.
π SYNOPSIS π
void page_counter_cancel (struct page_counter *counter , unsigned long
nr_pages );
π ARGUMENTS π
counterβ counter. yes bestie, the description is literally just "counter". it's the counter. that's the assignment. ππnr_pagesβ number of pages to cancel. how many pages are we taking out? this many. slay π¦
π SEE ALSO π
Kernel file ./mm/page_counter.c β the source file, bestie, go look at it when you want the full lore πβ¨
page_counter_charge(9)page_counter_try_charge(9)page_counter_uncharge(9)page_counter_set_max(9)page_counter_set_min(9)page_counter_set_low(9)page_counter_memparse(9)page_counter_calculate_protection(9)
xoxo, that's page_counter_cancel(9) from ./mm, October 2026 edition β leaving you with all the page-counter bestie energy ππβ¨ periodt.
π¦ 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