Re: [PATCH] mm: make faultaround produce old ptes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2016-05-17 at 15:32 +0300, Kirill A. Shutemov wrote:
> Currently, faultaround code produces young pte. This can screw up
> vmscan
> behaviour[1], as it makes vmscan think that these pages are hot and
> not
> push them out on first round.
> 
> Let modify faultaround to produce old pte, so they can easily be
> reclaimed under memory pressure.
> 
> This can to some extend defeat purpose of faultaround on machines
> without hardware accessed bit as it will not help up with reducing
> number of minor page faults.
> 
> We may want to disable faultaround on such machines altogether, but
> that's subject for separate patchset.
> 
> [1] https://lkml.kernel.org/r/1460992636-711-1-git-send-email-vinmeno
> n@xxxxxxxxxxxxxx
> 
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> Cc: Mel Gorman <mgorman@xxxxxxx>
> Cc: Rik van Riel <riel@xxxxxxxxxx>
> Cc: Michal Hocko <mhocko@xxxxxxxxxx>
> Cc: Vinayak Menon <vinmenon@xxxxxxxxxxxxxx>
> Cc: Minchan Kim <minchan@xxxxxxxxxx>
> 
Acked-by: Rik van Riel <riel@xxxxxxxxxx>

-- 
All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]