On Tue, 27 Sep 2011 17:49:01 -0700 Michel Lespinasse <walken@xxxxxxxxxx> wrote: > Add a new page_referenced_kstaled() interface. The desired behavior > is that page_referenced() returns page references since the last > page_referenced() call, and page_referenced_kstaled() returns page > references since the last page_referenced_kstaled() call, but they > are both independent of each other and do not influence each other. > > The following events are counted as kstaled page references: > - CPU data access to the page (as noticed through pte_young()); > - mark_page_accessed() calls; > - page being freed / reallocated. > > > Signed-off-by: Michel Lespinasse <walken@xxxxxxxxxx> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> 2 questions. What happens at Transparent HugeTLB pages are splitted/collapsed ? Does this feature can ignore page migration i.e. flags should not be copied ? Thanks, -Kame -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>