gmap_helper_zap_one_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… gmap_helper_zap_one_page(9) πŸ’…

okay so bestie, welcome to the gmap_helper_zap_one_page(9) page β€” that's the kernel API manual, and yes it's as niche as it sounds, but we're gonna slay this together 🫢


✨ NAME ✨

gmap_helper_zap_one_page β€” discard a page if it was swapped.

🌸 SYNOPSIS 🌸

void gmap_helper_zap_one_page (struct mm_struct *mm , unsigned long
vmaddr );

πŸŽ€ ARGUMENTS πŸŽ€

  • mm β€” the mm. that's it. that's the whole description. she's mysterious, she's iconic, she's the mm πŸ’…
  • vmaddr β€” the userspace virtual address that needs to be discarded πŸ”₯

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe check: if the given address maps to a swap entry, discard it. periodt. no cap, that's literally the whole thing ✨

πŸ’œ CONTEXT πŸ’œ

⚠️ bestie listen β€” this needs to be called while holding the mmap lock. not optional. do not skip this. fr fr πŸ™ˆ

🌈 SEE ALSO 🌈

go read those too, they're giving main character energy too πŸ‘‘


and that's the whole page!! mwah πŸ’‹ this came to you from ./arch/s390/mm, dated October 2026, and it's gmap_helper_zap_one_page(9) out πŸ’– πŸŽ€ πŸ¦‹ 🌸

πŸ“¦ where this page comes from