Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751416AbWJQSg1 (ORCPT ); Tue, 17 Oct 2006 14:36:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751417AbWJQSg1 (ORCPT ); Tue, 17 Oct 2006 14:36:27 -0400 Received: from zeus1.kernel.org ([204.152.191.4]:34275 "EHLO zeus1.kernel.org") by vger.kernel.org with ESMTP id S1751416AbWJQSg0 (ORCPT ); Tue, 17 Oct 2006 14:36:26 -0400 Date: Tue, 17 Oct 2006 11:29:31 -0700 From: Andrew Morton To: Cedric Le Goater Cc: linux-kernel@vger.kernel.org, Nick Piggin , Carsten Otte Subject: Re: 2.6.19-rc2-mm1 Message-Id: <20061017112931.80ce9ca4.akpm@osdl.org> In-Reply-To: <4534FA99.2080009@fr.ibm.com> References: <20061016230645.fed53c5b.akpm@osdl.org> <4534FA99.2080009@fr.ibm.com> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.6; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1134 Lines: 36 On Tue, 17 Oct 2006 17:45:29 +0200 Cedric Le Goater wrote: > > +mm-fix-pagecache-write-deadlocks.patch > > filemap_xip.c needs a fix also. > > Signed-off-by: Cedric Le Goater > --- > mm/filemap_xip.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: 2.6.19-rc2-mm1/mm/filemap_xip.c > =================================================================== > --- 2.6.19-rc2-mm1.orig/mm/filemap_xip.c > +++ 2.6.19-rc2-mm1/mm/filemap_xip.c > @@ -317,7 +317,7 @@ __xip_file_write(struct file *filp, cons > break; > } > > - copied = filemap_copy_from_user(page, offset, buf, bytes); > + copied = filemap_copy_from_user_atomic(page, offset, buf, bytes); > flush_dcache_page(page); > if (likely(copied > 0)) { > status = copied; I think it might actually be that simple. I expected a lot more fuss than that. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/