Re: [PATCH] pagemap: fix order of pmd_trans_unstable() and pmd_trans_huge_lock()

Naoya Horiguchi
2012-03-29T22:53:55Z

(3/29/2012 16:25), Andrea Arcangeli wrote:
> Hi,
>
> On Thu, Mar 29, 2012 at 04:41:41AM -0400, Naoya Horiguchi wrote:
>> pmd_trans_unstable() in pagemap_pte_range() comes before pmd_trans_huge_lock()
>> now, which means that pagewalk kicked by reading /proc/pid/pagemap does not
>> run over thp. This patch fixes it.
>
> This should be fixed already.

Oh, you're right. Thanks.