From: Ethan Solomita <solo@google.com>
To: linux-mm@kvack.org
Subject: page_referenced() and VM_LOCKED
Date: Thu, 15 Nov 2007 20:25:45 -0800 [thread overview]
Message-ID: <473D1BC9.8050904@google.com> (raw)
page_referenced_file() checks for the vma to be VM_LOCKED|VM_MAYSHARE
and adds returns 1. We don't do the same in page_referenced_anon(). I
would've thought the point was to treat locked pages as active, never
pushing them into the inactive list, but since that's not quite what's
happening I was hoping someone could give me a clue.
Thanks,
-- Ethan
--
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>
next reply other threads:[~2007-11-16 4:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-16 4:25 Ethan Solomita [this message]
2007-11-16 5:46 ` page_referenced() and VM_LOCKED KAMEZAWA Hiroyuki
2007-11-16 18:00 ` Hugh Dickins
2007-11-17 0:32 ` kamezawa.hiroyu
2007-11-19 9:39 ` KAMEZAWA Hiroyuki
2007-11-19 19:09 ` Hugh Dickins
2007-12-05 0:26 ` Ethan Solomita
2007-12-05 15:54 ` Hugh Dickins
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=473D1BC9.8050904@google.com \
--to=solo@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.