Re: 2.6.19 file content corruption on ext3

From: Russell King
Date: Thu Dec 28 2006 - 16:37:02 EST


On Thu, Dec 28, 2006 at 01:24:30PM -0800, Linus Torvalds wrote:
> On Thu, 28 Dec 2006, Linus Torvalds wrote:
> >
> > What we need now is actually looking at the source code, and people who
> > understand the VM, I'm afraid. I'm gathering traces now that I have a good
> > test-case. I'll post my trace tools once I've tested that they work, in
> > case others want to help.
>
> Ok, I've got the traces, but quite frankly, I doubt anybody is crazy
> enough to want to trawl through them. It's a bit painful, since we're
> talking thousands of pages to trigger this problem.
>
> Also, I've used the PG_arch_1 flag, which is fine on x86[-64] and probably
> ARM, but is used for other things on ia64, powerpc and sparc64. But here's
> the patch in case anybody cares.

PG_arch_1 is used on ARM to flag pages that need a dcache flush prior to
hitting userspace, in the same way that sparc64 uses it. So ARM systems
should not have this patch applied.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/