vmcore_alloc_buf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ vmcore_alloc_buf(9) πŸ¦‹

Kernel API Manual

okay so bestie, welcome to the vmcore_alloc_buf(9) page from the Kernel API Manual. it's giving β€œallocate buffer in vmalloc memory,” and honestly? iconic. πŸ’…βœ¨

🌸 NAME 🌸

vmcore_alloc_buf β€” allocate buffer in vmalloc memory

πŸŽ€ SYNOPSIS πŸŽ€

char * vmcore_alloc_buf (size_t size );

πŸ’– ARGUMENTS πŸ’–

  • size β€” size of buffer

✨ DESCRIPTION ✨

okay so here’s the vibe check, bestie. if CONFIG_MMU is defined, it uses vmalloc_user to allow users to mmap the buffer to user-space by means of remap_vmalloc_range. slay. 🫢

if CONFIG_MMU is not defined, it uses vzalloc, since mmap_vmcore is disabled and there’s no need to allow users to mmap the buffer. periodt. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./fs/proc/vmcore.c, plus these besties:


okay that’s the whole page, bestie! 🫢 this one is from the Kernel API Manual, source/version ./fs/proc, dated October 2026, and the page is vmcore_alloc_buf(9) β€” cute little sign-off moment, no cap. πŸ’–πŸŽ€

πŸ“¦ where this page comes from