From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx110.postini.com [74.125.245.110]) by kanga.kvack.org (Postfix) with SMTP id 319DC6B0044 for ; Thu, 29 Mar 2012 16:25:20 -0400 (EDT) Date: Thu, 29 Mar 2012 22:25:14 +0200 From: Andrea Arcangeli Subject: Re: [PATCH] pagemap: fix order of pmd_trans_unstable() and pmd_trans_huge_lock() Message-ID: <20120329202514.GC20930@redhat.com> References: <1333010501-31218-1-git-send-email-n-horiguchi@ah.jp.nec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1333010501-31218-1-git-send-email-n-horiguchi@ah.jp.nec.com> Sender: owner-linux-mm@kvack.org List-ID: To: Naoya Horiguchi Cc: Andrew Morton , Sasha Levin , Hugh Dickins , linux-kernel@vger.kernel.org, linux-mm@kvack.org 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. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org