Re: [patch] mm: fix XIP file writes

2007-12-11 Thread Nick Piggin
On Mon, Dec 10, 2007 at 03:38:20PM +0100, Christian Borntraeger wrote: > Hi Nick, > > > Here we go. See, brd already found a bug ;) > > Can you apply the ext2 XIP patch too? And I'll resend the brd XIP patch. > [...] > > Writing to XIP files at a non-page-aligned offset results in data corruption

Re: [patch] mm: fix XIP file writes

2007-12-11 Thread Nick Piggin
On Mon, Dec 10, 2007 at 03:38:20PM +0100, Christian Borntraeger wrote: Hi Nick, Here we go. See, brd already found a bug ;) Can you apply the ext2 XIP patch too? And I'll resend the brd XIP patch. [...] Writing to XIP files at a non-page-aligned offset results in data corruption

Re: [patch] mm: fix XIP file writes

2007-12-10 Thread Christian Borntraeger
Hi Nick, > Here we go. See, brd already found a bug ;) > Can you apply the ext2 XIP patch too? And I'll resend the brd XIP patch. [...] > Writing to XIP files at a non-page-aligned offset results in data corruption > because the writes were always sent to the start of the page. [...] > @@ -314,7

Re: [patch] mm: fix XIP file writes

2007-12-10 Thread Christian Borntraeger
Hi Nick, Here we go. See, brd already found a bug ;) Can you apply the ext2 XIP patch too? And I'll resend the brd XIP patch. [...] Writing to XIP files at a non-page-aligned offset results in data corruption because the writes were always sent to the start of the page. [...] @@ -314,7

[patch] mm: fix XIP file writes

2007-12-04 Thread Nick Piggin
On Tue, Dec 04, 2007 at 12:35:49PM +0100, Nick Piggin wrote: > On Tue, Dec 04, 2007 at 03:26:20AM -0800, Andrew Morton wrote: > > On Tue, 4 Dec 2007 12:21:00 +0100 Nick Piggin <[EMAIL PROTECTED]> wrote: > > > > > + * > > > + * Cannot support XIP and highmem, because our ->direct_access > > > +

[patch] mm: fix XIP file writes

2007-12-04 Thread Nick Piggin
On Tue, Dec 04, 2007 at 12:35:49PM +0100, Nick Piggin wrote: On Tue, Dec 04, 2007 at 03:26:20AM -0800, Andrew Morton wrote: On Tue, 4 Dec 2007 12:21:00 +0100 Nick Piggin [EMAIL PROTECTED] wrote: + * + * Cannot support XIP and highmem, because our -direct_access + * routine for