Hello,
> I'm trying to understand the page replacement policy in the latest LinuxI am not really sure about it. According to UTLK (I know, it is
> kernel and reimplement a similar one in the user space.
> As far as I can understand from ULK and the code, there are two lists:
> active list and inactive list.
> Here I only consider the case of the *page cache*:
> When a page is added to the page cache (by add_to_page_cache_lru), it is
> also added to the inactive list and its reference bit is set (by
> mark_page_accessed).
dated), page goes as "inactive, not referenced" first.