All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <aarcange@redhat.com>
To: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Sasha Levin <levinsasha928@gmail.com>,
	Hugh Dickins <hughd@google.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH] pagemap: fix order of pmd_trans_unstable() and pmd_trans_huge_lock()
Date: Thu, 29 Mar 2012 22:25:14 +0200	[thread overview]
Message-ID: <20120329202514.GC20930@redhat.com> (raw)
In-Reply-To: <1333010501-31218-1-git-send-email-n-horiguchi@ah.jp.nec.com>

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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: Andrea Arcangeli <aarcange@redhat.com>
To: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Sasha Levin <levinsasha928@gmail.com>,
	Hugh Dickins <hughd@google.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH] pagemap: fix order of pmd_trans_unstable() and pmd_trans_huge_lock()
Date: Thu, 29 Mar 2012 22:25:14 +0200	[thread overview]
Message-ID: <20120329202514.GC20930@redhat.com> (raw)
In-Reply-To: <1333010501-31218-1-git-send-email-n-horiguchi@ah.jp.nec.com>

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.

  reply	other threads:[~2012-03-29 20:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29  8:41 [PATCH] pagemap: fix order of pmd_trans_unstable() and pmd_trans_huge_lock() Naoya Horiguchi
2012-03-29  8:41 ` Naoya Horiguchi
2012-03-29 20:25 ` Andrea Arcangeli [this message]
2012-03-29 20:25   ` Andrea Arcangeli
2012-03-29 22:53   ` Naoya Horiguchi
2012-03-29 22:53     ` Naoya Horiguchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120329202514.GC20930@redhat.com \
    --to=aarcange@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=hughd@google.com \
    --cc=levinsasha928@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=n-horiguchi@ah.jp.nec.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.