is_module_percpu_address(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– is_module_percpu_address(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie ✨ this page is short but it's giving "small but mighty" energy, and we're gonna get into it πŸ’…


🌸 NAME 🌸

is_module_percpu_address β€” test whether address is from module static percpu.

like, that's literally the whole assignment, no cap 🫢


✨ SYNOPSIS ✨

here's the exact signature, character for character, because we do not play about code πŸ”₯

bool is_module_percpu_address (unsigned long addr );

🫢 ARGUMENTS 🫢

  • addr β€” address to test. that's the one and only argument, bestie πŸ’–

πŸ’… DESCRIPTION πŸ’…

Test whether addr belongs to module static percpu area.

that's it. that's the vibe check. it's asking if this address is from the module static percpu area, and honestly? iconic behavior πŸ‘‘


πŸ”₯ RETURN πŸ”₯

true if addr is from module static percpu area.

so you get a little true back when the address matches, and that's the whole story, periodt πŸ’€βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file ./kernel/module/main.c is in the group chat too, and so are all these besties:


later bestie β€” this page is from ./kernel/module, dated October 2026, and it's all about is_module_percpu_address(9) πŸ«ΆπŸ’…

πŸ“¦ where this page comes from