[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071008132304.7382961d@bree.surriel.com>
Date: Mon, 8 Oct 2007 13:23:04 -0400
From: Rik van Riel <riel@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Yan Zheng <yanzheng@...n.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [PATCH]fix page release issue in filemap_fault
On Mon, 08 Oct 2007 19:15:23 +0200
Peter Zijlstra <peterz@...radead.org> wrote:
> On Mon, 2007-10-08 at 23:28 +0800, Yan Zheng wrote:
> > Hi all
> >
> > find_lock_page increases page's usage count, we should decrease it
> > before return VM_FAULT_SIGBUS
> >
> > Signed-off-by: Yan Zheng<yanzheng@...n.com>
>
> Nice catch, .23 material?
An obvious fix for a memory leak. I think it should go in.
> Acked-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Acked-by: Rik van Riel <riel@...hat.com>
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
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