linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [question] call mark_page_accessed() in minor fault
@ 2013-04-23 12:25 Zheng Liu
  2013-04-23 13:02 ` Konstantin Khlebnikov
  0 siblings, 1 reply; 7+ messages in thread
From: Zheng Liu @ 2013-04-23 12:25 UTC (permalink / raw)
  To: linux-mm; +Cc: muming.wq

Hi all,

Recently we meet a performance regression about mmaped page.  When we upgrade
our product system from 2.6.18 kernel to a latest kernel, such as 2.6.32 kernel,
we will find that mmaped pages are reclaimed very quickly.  We found that when
we hit a minor fault mark_page_accessed() is called in 2.6.18 kernel, but in
2.6.32 kernel we don't call mark_page_accesed().  This means that mmaped pages
in 2.6.18 kernel are activated and moved into active list.  While in 2.6.32
kernel mmaped pages are still kept in inactive list.

So my question is why we call mark_page_accessed() in 2.6.18 kernel, but don't
call it in 2.6.32 kernel.  Has any reason here?

Thanks in advance,
						- Zheng

--
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] 7+ messages in thread

end of thread, other threads:[~2013-04-27 10:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-23 12:25 [question] call mark_page_accessed() in minor fault Zheng Liu
2013-04-23 13:02 ` Konstantin Khlebnikov
2013-04-23 13:49   ` Zheng Liu
2013-04-27  7:10     ` Simon Jeons
2013-04-27  7:55       ` Zheng Liu
2013-04-27  7:40         ` Simon Jeons
2013-04-27 11:14           ` Zheng Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).