On Fri, Oct 29, 2010 at 9:31 PM, Rik van Riel <riel@xxxxxxxxxx> wrote: > On 10/29/2010 12:27 AM, Minchan Kim wrote: > >> What happens if we don't flush TLB? >> It will make for old page to pretend young page. >> If it is, how does it affect reclaim? > > Other way around - it will make a young page pretend to be an > old page, because the TLB won't know it needs to flush the > Accessed bit into the page tables (where the bit was recently > cleared). Ying's patch just removes TLB flush when page access bit is changed from young to old. We still flush TLB flush when from old to young change by ptep_set_access_flags. Do I miss something? -- Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>