vmballoon_shrinker_count(9)
π NAME π
vmballoon_shrinker_count β return the number of ballooned pages.
Okay bestie, welcome to the vmballoon_shrinker_count(9) page from the Kernel API Manual β¨ This function is literally here to return the number of ballooned pages, and thatβs the whole main-character job. No cap.
β¨ SYNOPSIS β¨
unsigned long vmballoon_shrinker_count (struct shrinker *shrinker ,
struct shrink_control *sc );
π«Ά ARGUMENTS π«Ά
shrinkerβ pointer to the balloon shrinker. Itβs giving βhere is the balloon shrinker pointer,β and thatβs the vibe πscβ page reclaim information. Lowkey self-explanatory: it carries the page reclaim information, iykyk.
πΈ RETURN πΈ
It returns the number of 4k pages that are allocated for the balloon and can therefore be reclaimed under pressure. Thatβs the answer, and it ate π
π¦ SEE ALSO π¦
Kernel file ./drivers/misc/vmw_balloon.c β yes bestie, the source file is part of the see-also squad too π
enum vmballoon_cmd_type(9)struct vmballoon_batch_entry(9)vmballoon_send_guest_id(9)vmballoon_page_order(9)vmballoon_page_in_frames(9)vmballoon_mark_page_offline(9)vmballoon_mark_page_online(9)vmballoon_send_get_target(9)vmballoon_alloc_page_list(9)vmballoon_handle_one_result(9)vmballoon_status_page(9)vmballoon_lock_op(9)vmballoon_add_page(9)vmballoon_lock(9)vmballoon_release_page_list(9)vmballoon_change(9)vmballoon_enqueue_page_list(9)vmballoon_dequeue_page_list(9)vmballoon_split_refused_pages(9)vmballoon_inflate(9)vmballoon_deflate(9)vmballoon_deinit_batching(9)vmballoon_init_batching(9)vmballoon_vmci_init(9)vmballoon_pop(9)vmballoon_work(9)vmballoon_shrinker_scan(9)vmballoon_debug_show(9)vmballoon_migratepage(9)
Thatβs the vibe check: source/version ./drivers/misc, dated October 2026, and itβs the vmballoon_shrinker_count(9) page β bye bestie, slay responsibly πβ¨
π¦ 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