All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <dave@linux.vnet.ibm.com>
To: Dave Hansen <dave@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [RFC][PATCH 1/2] hugetlb: fix resv_map leak in error path
Date: Mon, 21 May 2012 13:34:31 -0700	[thread overview]
Message-ID: <4FBAA6D7.2000604@linux.vnet.ibm.com> (raw)
In-Reply-To: <20120521203022.F7FCE507@kernel>

On 05/21/2012 01:30 PM, Dave Hansen wrote:
> When called for anonymous (non-shared) mappings,
> hugetlb_reserve_pages() does a resv_map_alloc().  It depends on
> code in hugetlbfs's vm_ops->close() to release that allocation.

Sorry, this one escaped unintentionally!  This patch itself is good, but
I didn't mean to send it along with 2/2.  Disregard this 1/2, but please
take a look at 2/2!

--
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: Dave Hansen <dave@linux.vnet.ibm.com>
To: Dave Hansen <dave@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [RFC][PATCH 1/2] hugetlb: fix resv_map leak in error path
Date: Mon, 21 May 2012 13:34:31 -0700	[thread overview]
Message-ID: <4FBAA6D7.2000604@linux.vnet.ibm.com> (raw)
In-Reply-To: <20120521203022.F7FCE507@kernel>

On 05/21/2012 01:30 PM, Dave Hansen wrote:
> When called for anonymous (non-shared) mappings,
> hugetlb_reserve_pages() does a resv_map_alloc().  It depends on
> code in hugetlbfs's vm_ops->close() to release that allocation.

Sorry, this one escaped unintentionally!  This patch itself is good, but
I didn't mean to send it along with 2/2.  Disregard this 1/2, but please
take a look at 2/2!


  parent reply	other threads:[~2012-05-21 20:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-21 20:30 [RFC][PATCH 1/2] hugetlb: fix resv_map leak in error path Dave Hansen
2012-05-21 20:30 ` Dave Hansen
2012-05-21 20:30 ` [RFC][PATCH 2/2] sparsemem: fix boot when SECTIONS_PER_ROOT is not power-of-2 Dave Hansen
2012-05-21 20:30   ` Dave Hansen
2012-05-21 20:34 ` Dave Hansen [this message]
2012-05-21 20:34   ` [RFC][PATCH 1/2] hugetlb: fix resv_map leak in error path Dave Hansen

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=4FBAA6D7.2000604@linux.vnet.ibm.com \
    --to=dave@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --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 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.