since when does ARM map the kernel memory in sections?
Colin Cross
ccross at google.com
Tue Apr 12 15:11:59 EDT 2011
On Tue, Apr 12, 2011 at 11:52 AM, Peter Wächtler <pwaechtler at mac.com> wrote:
> Hello Linux ARM developers,
>
> did the ARM Linux 2.6 kernel map the kernel memory in pages in the past?
> Or was the memory always mapped in sections?
>
> I still have to chase a potential memory corruption. The rootfs is located on
> a SDcard and gets corrupted even when the filesystem test programs write to
> different partitions.
> The test scenario includes several dozen or even hundreds of warm and cold
> boot sequences, file system write tests with sudden soft resets. It's a large
> embedded project with a lot of drivers and the fact that always the rootfs and
> often the superblock gets damaged let me think of a memory corruption.
Gary King posted some patches a while ago that switched the kernel
back to page mappings, so he could modify attributes on some pages to
be non-cacheable. The patches were not accepted, but you can probably
dig them up for testing.
More information about the linux-arm-kernel
mailing list