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