[PATCH 1/1] process_madvise.2: Add process_madvise man page

Michal Hocko mhocko at suse.com
Mon Jan 25 13:19:35 UTC 2021

On Wed 20-01-21 12:23:37, Suren Baghdasaryan wrote:
>     MADV_COLD (since Linux 5.4.1)
>         Deactivate a given range of pages by moving them from active to
>         inactive LRU list. This is done to accelerate the reclaim of these
>         pages. The advice might be ignored for some pages in the range when it
>         is not applicable.

I do not think we want to talk about active/inactive LRU lists here.
Wouldn't it be sufficient to say
Deactive a given range of pages which will make them a more probable
reclaim target should there be a memory pressure. This is a
non-destructive operation.

Other than that, looks good to me from the content POV.

Michal Hocko

More information about the Linux-security-module-archive mailing list