linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* page_referenced() and VM_LOCKED
@ 2007-11-16  4:25 Ethan Solomita
  2007-11-16  5:46 ` KAMEZAWA Hiroyuki
  0 siblings, 1 reply; 8+ messages in thread
From: Ethan Solomita @ 2007-11-16  4:25 UTC (permalink / raw)
  To: linux-mm

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>

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

end of thread, other threads:[~2007-12-05 15:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-16  4:25 page_referenced() and VM_LOCKED Ethan Solomita
2007-11-16  5:46 ` KAMEZAWA Hiroyuki
2007-11-16 18:00   ` Hugh Dickins
2007-12-05  0:26     ` Ethan Solomita
2007-12-05 15:54       ` Hugh Dickins
2007-11-17  0:32   ` kamezawa.hiroyu
2007-11-19  9:39     ` KAMEZAWA Hiroyuki
2007-11-19 19:09       ` Hugh Dickins

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