[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090211172428.GA23119@elte.hu>
Date: Wed, 11 Feb 2009 18:24:28 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Peter Zijlstra <peterz@...radead.org>
Cc: "Pallipadi, Venkatesh" <venkatesh.pallipadi@...el.com>,
Catalin Marinas <catalin.marinas@....com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Darren Hart <dvhltc@...ibm.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH -v4] futex: fix reference leak
* Peter Zijlstra <peterz@...radead.org> wrote:
> Subject: futex: fix reference leak
> From: Peter Zijlstra <peterz@...radead.org>
>
> Catalin noticed that (38d47c1b7075: futex: rely on get_user_pages() for
> shared futexes) caused an mm_struct leak.
>
> Some tracing with the function graph tracer quickly pointed out that
> futex_wait() has exit paths with unbalanced reference counts.
>
> This regression was discovered by kmemleak.
>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
> Tested-by: "Pallipadi, Venkatesh" <venkatesh.pallipadi@...el.com>
> Tested-by: Catalin Marinas <catalin.marinas@....com>
> Reported-by: Catalin Marinas <catalin.marinas@....com>
> ---
> kernel/futex.c | 53 ++++++++++++++++++++++++++++-------------------------
> 1 files changed, 28 insertions(+), 25 deletions(-)
Applied to tip:core/urgent, thanks guys!
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists