79644262

Date: 2025-05-29 16:24:43
Score: 1.5
Natty:
Report link

Alright, I found out the answer. When PAGE_MAPPING_ANON bit is set, page->mapping points to anon vma of the respective page. It has been documented (https://elixir.bootlin.com/linux/v5.11.22/source/include/linux/page-flags.h#L474). The mapping field points to different data structures based on the flag.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rohit