Re: [PATCH]fix page release issue in filemap_fault

2007-10-08 Thread Rik van Riel
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 PROTEC

Re: [PATCH]fix page release issue in filemap_fault

2007-10-08 Thread Peter Zijlstra
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? Acked-by: Peter Zijlstra <[EMAIL PROTECTED]> > > di

[PATCH]fix page release issue in filemap_fault

2007-10-08 Thread Yan Zheng
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]> diff -ur linux-2.6.23-rc9/mm/filemap.c linux/mm/filemap.c --- linux-2.6.23-rc9/mm/filemap.c 2007-10-07 15:03:33.0 +0800 +++ linux/