[RFC] arm:extend the reserved mrmory for initrd to be page aligned

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Sep 15 02:30:14 PDT 2014


On Mon, Sep 15, 2014 at 05:07:53PM +0800, Wang, Yalin wrote:
> Hi
> 
> I tested it on my phone,
> >From log:
> <4>[    0.000000] INITRD unalign phys address:0x02000000+0x0022fb0e
> <4>[    0.000000] INITRD aligned phys address:0x02000000+0x00230000
> 
> <4>[    0.579474] free_initrd_mem: free pfn:8192---8752
> 
> The tail address is not aligned for most initrd image,
> This page will not be freed and lost .

Right, so from this I can assume that you only tested it by seeing what
the addresses were, and the values used in free_initrd_mem().

What you haven't tested is whether the initrd actually gets used with
your changes, which is more what I was interested in given what I found
when reading your patch.

-- 
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list