vmcore_alloc_buf(9)
π¦ 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:
update_note_header_size_elf64(9)get_note_number_and_size_elf64(9)copy_notes_elf64(9)update_note_header_size_elf32(9)get_note_number_and_size_elf32(9)copy_notes_elf32(9)vmcoredd_write_header(9)vmcoredd_update_program_headers(9)vmcoredd_update_size(9)vmcore_add_device_dump(9)
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
- 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