* Don't understand vm_page_prot
@ 2004-09-03 15:40 Timur Tabi
0 siblings, 0 replies; only message in thread
From: Timur Tabi @ 2004-09-03 15:40 UTC (permalink / raw)
To: linux-mm
I'm reading about vm_area_struct in Mel Gorman's book on the Linux VM,
and he says that the vm_page_prot field in structure vm_area_struct
contains "protection flags that are set for each PTE in this VMA". These
are the _PAGE_xxx flags in pgtable.h.
The problem I have is that these flags describe individual pages. For
instance, _PAGE_DIRTY says that this particular page is dirty. So what
does it mean if _PAGE_DIRTY is set in vm_page_prot? Does that mean that
every page in this VMA is dirty? What if only some of the pages are dirty?
--
Timur Tabi
Staff Software Engineer
timur.tabi@ammasso.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-09-03 15:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-03 15:40 Don't understand vm_page_prot Timur Tabi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox