free_contig_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

hey bestie!! welcome to the free_contig_range(9) page from the Kernel API Manual β€” this one is short and sweet, but the rule is very real. It's free_contig_range - - free the contiguous range of pages. πŸ’–


✨ SYNOPSIS ✨

okay so here's the signature, copy-paste exact vibes:

void free_contig_range (unsigned long pfn , unsigned long nr_pages );

πŸŽ€ ARGUMENTS πŸŽ€

  • pfn β€” the start PFN to free. That's your starting point, bestie. πŸ“
  • nr_pages β€” the Number of contiguous pages to free. Yes, plural, contiguous, count 'em. πŸ”’

πŸ’… DESCRIPTION πŸ’…

Okay so listen: this can only be used to free the allocated non-compound pages. That's the whole assignment. Allocated non-compound pages, periodt. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./mm/page_alloc.c. And here's the whole see-also friend group, every single one, no skipping:


mwah πŸ’‹ β€” source: ./mm Β· date: October 2026 Β· page: free_contig_range(9). bye bestie, go free those contig pages responsibly 🫢✨

πŸ“¦ where this page comes from