linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* _PAGE_ACCESSED question
@ 2010-01-08 17:51 Joakim Tjernlund
  0 siblings, 0 replies; 2+ messages in thread
From: Joakim Tjernlund @ 2010-01-08 17:51 UTC (permalink / raw)
  To: linux-mm


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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: _PAGE_ACCESSED question
       [not found] <OF638EF1BD.8D8D16E1-ONC12576A5.0061F7F5-C12576A5.00621EFE@LocalDomain>
@ 2010-01-11  7:39 ` Joakim Tjernlund
  0 siblings, 0 replies; 2+ messages in thread
From: Joakim Tjernlund @ 2010-01-11  7:39 UTC (permalink / raw)
  Cc: linux-mm

Try asking the below question again:

Joakim Tjernlund/Transmode wrote on 08/01/2010 18:51:44:
>
> 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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-11  7:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-08 17:51 _PAGE_ACCESSED question Joakim Tjernlund
     [not found] <OF638EF1BD.8D8D16E1-ONC12576A5.0061F7F5-C12576A5.00621EFE@LocalDomain>
2010-01-11  7:39 ` Joakim Tjernlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox