linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Timur Tabi <timur.tabi@ammasso.com>
To: linux-mm@kvack.org
Subject: Don't understand vm_page_prot
Date: Fri, 03 Sep 2004 10:40:40 -0500	[thread overview]
Message-ID: <41389078.1080900@ammasso.com> (raw)

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>

                 reply	other threads:[~2004-09-03 15:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41389078.1080900@ammasso.com \
    --to=timur.tabi@ammasso.com \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox