is_highmem(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay so bestie, welcome to the manual page for is_highmem(9) πŸ’–. is_highmem is a helper function that quickly checks if a struct zone is a highmem zone or not. This is an attempt to keep references to ZONE_{DMA/NORMAL/HIGHMEM/etc} in general code to a minimum. Periodt. ✨

✨ SYNOPSIS ✨

Here's the signature, exactly as it is, because we do not mess with code in this house 🫢:

int is_highmem (const struct zone *zone );

πŸŽ€ ARGUMENTS πŸŽ€

  • zone β€” pointer to a struct zone variable. That's the whole argument, bestie.

πŸ”₯ RETURN πŸ”₯

  • 1 for a highmem zone.
  • 0 otherwise.

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file to peek at is ./include/linux/mmzone.h πŸ‘€. Also go hang out with:


Bye bestie πŸ’œ β€” source/version: ./include/linux, date: October 2026. Slay. 🌈✨

πŸ“¦ where this page comes from