linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: linux-mm@kvack.org
Subject: _PAGE_ACCESSED question
Date: Fri, 8 Jan 2010 18:51:44 +0100	[thread overview]
Message-ID: <OF638EF1BD.8D8D16E1-ONC12576A5.0061F7F5-C12576A5.00621EFE@transmode.se> (raw)


I hacking on 8xx ppc TLB handlers and I wonder about the _PAGE_ACCESSED
pte flag. Normally one set this flag in the TLB handler iff PRESENT is also set.
I know ACCESSED is used by SWAP but what more uses it?
I wonder because most embedded systems does not have SWAP so it is
tempting to skip updating ACCESSED in the TLB handler to save a few insn's
and a pte write when swap is disabled.

I also wonder if it allowed to clear the ACCESSED flag
when PRESENT is also cleared.

    Jocke

--
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:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2010-01-08 17:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-08 17:51 Joakim Tjernlund [this message]
     [not found] <OF638EF1BD.8D8D16E1-ONC12576A5.0061F7F5-C12576A5.00621EFE@LocalDomain>
2010-01-11  7:39 ` Joakim Tjernlund

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=OF638EF1BD.8D8D16E1-ONC12576A5.0061F7F5-C12576A5.00621EFE@transmode.se \
    --to=joakim.tjernlund@transmode.se \
    --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