lkml.org 
[lkml]   [2022]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 0/2] mm: Remember a/d bits for migration entries
From
Date
On Aug 4, 2022, at 1:39 PM, Peter Xu <peterx@redhat.com> wrote:

> (1) Page Idle Tracking
>
> Before this series, idle tracking can cause false negative if an accessed
> page got migrated, since after migration the young bit will get lost.
> After this series, it'll be better in that after migration young bit will
> be persisted, so it'll be able to be detected correctly by page idle
> logic when walking the pgtable.
>
> However there's still nothing done when page idle reset was carried out
> during migration procedure in progress, but that should be a separate
> topic to be addressed (e.g. to teach rmap pgtable walk code to be able to
> walk with both present ptes and migration ptes).

IIUC, when a migration entry is set page_remove_rmap() is called by
try_to_migrate_one(), so improving page-idle accuracy should be done in a
different way.

\
 
 \ /
  Last update: 2022-08-05 00:18    [W:0.076 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site