Re: [1/1] mm: thp: calculate the mapcount correctly for THP pages during WP faults

From: Mike Marciniszyn
Date: Thu May 12 2016 - 14:48:28 EST



Reviewed-by: "Kirill A. Shutemov" <kirill@xxxxxxxxxxxxx>
Signed-off-by: Andrea Arcangeli <aarcange@xxxxxxxxxx>


Andrea,

Perhaps add a V<n> in the subject for subsequent submissions as well as
version change control in email after the ---.

I happened to know the differences, but others might not.

This patch also solves the >= 4.5-rc1 IB user memory registration thp bug
that results in memory corruption!

Reviewed-by: Dean Luick <dean.luick@xxxxxxxxx>
Tested-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>
Tested-by: Josh Collier <josh.d.collier@xxxxxxxxx>