linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Bill Irwin <bill.irwin@oracle.com>
To: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
Cc: 'Hugh Dickins' <hugh@veritas.com>,
	'Andrew Morton' <akpm@osdl.org>,
	bill.irwin@oracle.com, linux-mm@kvack.org
Subject: Re: [patch] enforce proper tlb flush in unmap_hugepage_range
Date: Tue, 3 Oct 2006 04:52:37 -0700	[thread overview]
Message-ID: <20061003115237.GE3517@holomorphy.com> (raw)
In-Reply-To: <000001c6e6ce$4eb93590$bb80030a@amr.corp.intel.com>

On Tue, Oct 03, 2006 at 02:28:37AM -0700, Chen, Kenneth W wrote:
> Spotted by Hugh that hugetlb page is free'ed back to global pool
> before performing any TLB flush in unmap_hugepage_range(). This
> potentially allow threads to abuse free-alloc race condition.
> Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>

This seems terribly familiar. I should have gotten this cleaned up a
long time ago since I'm sure I knew this was an outstanding problem at
some point.

Good patch.

Signed-off-by: William Irwin <wli@holomorphy.com>


-- wli

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

      reply	other threads:[~2006-10-03 11:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-03  9:28 Chen, Kenneth W
2006-10-03 11:52 ` Bill Irwin [this message]

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=20061003115237.GE3517@holomorphy.com \
    --to=bill.irwin@oracle.com \
    --cc=akpm@osdl.org \
    --cc=hugh@veritas.com \
    --cc=kenneth.w.chen@intel.com \
    --cc=linux-mm@kvack.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox