is_module_percpu_address(9)
π 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:
- Kernel file
./kernel/module/main.c find_any_unique_sec(9)module_refcount(9)verify_module_namespace(9)elf_validity_ehdr(9)elf_validity_cache_sechdrs(9)elf_validity_cache_secstrings(9)elf_validity_cache_index_info(9)elf_validity_cache_index_mod(9)elf_validity_cache_index_sym(9)elf_validity_cache_index_str(9)elf_validity_cache_index_versions(9)elf_validity_cache_index(9)elf_validity_cache_strtab(9)is_module_address(9)__module_address(9)is_module_text_address(9)__module_text_address(9)
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
- 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