Re: [PATCH]fix page release issue in filemap_fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 08 Oct 2007 19:15:23 +0200
Peter Zijlstra <[email protected]> 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<[email protected]>
> 
> Nice catch, .23 material?

An obvious fix for a memory leak.  I think it should go in.

> Acked-by: Peter Zijlstra <[email protected]>

Acked-by: Rik van Riel <[email protected]>

-- 
"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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux