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

From: Naoya Horiguchi
Date: Thu Mar 29 2012 - 18:53:50 EST


(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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/