lkml.org 
[lkml]   [2018]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v1] mm: consider non-anonymous thp as unmovable page
    On Tue 03-04-18 13:46:28, Naoya Horiguchi wrote:
    > My testing for the latest kernel supporting thp migration found out an
    > infinite loop in offlining the memory block that is filled with shmem
    > thps. We can get out of the loop with a signal, but kernel should
    > return with failure in this case.
    >
    > What happens in the loop is that scan_movable_pages() repeats returning
    > the same pfn without any progress. That's because page migration always
    > fails for shmem thps.

    Why does it fail? Shmem pages should be movable without any issues.

    --
    Michal Hocko
    SUSE Labs

    \
     
     \ /
      Last update: 2018-04-03 10:00    [W:3.153 / U:0.108 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site