On Mon, Sep 15, 2014 at 01:11:14PM +0800, Wang, Yalin wrote:
this patch extend the start and end address of initrd to be page aligned,
so that we can free all memory including the un-page aligned head or tail
page of initrd, if the start or end address of initrd are not page
aligned, the page
Hi
I tested it on my phone,
From log:
4[0.00] INITRD unalign phys address:0x0200+0x0022fb0e
4[0.00] INITRD aligned phys address:0x0200+0x0023
4[0.579474] free_initrd_mem: free pfn:8192---8752
The tail address is not aligned for most initrd image,
This page will
On Mon, Sep 15, 2014 at 05:07:53PM +0800, Wang, Yalin wrote:
Hi
I tested it on my phone,
From log:
4[0.00] INITRD unalign phys address:0x0200+0x0022fb0e
4[0.00] INITRD aligned phys address:0x0200+0x0023
4[0.579474] free_initrd_mem: free pfn:8192---8752
Hi
Add more log:
4[0.00] INITRD unalign phys address:0x0200+0x0022fb0e
4[0.00] INITRD aligned phys address:0x0200+0x0023
4[0.574868] free_initrd: free initrd 0xc200+0xc222fb0e
4[0.579398] free_initrd_mem: free pfn:8192---8752
The inird used memory is still
Hi
Oh, I see your meaning,
Yeah , my initrd is a cpio image,
And it can still work after apply this patch.
-Original Message-
From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk]
Sent: Monday, September 15, 2014 6:17 PM
To: Wang, Yalin
Cc: 'Will Deacon';
On Mon, Sep 15, 2014 at 06:22:12PM +0800, Wang, Yalin wrote:
Oh, I see your meaning,
Yeah , my initrd is a cpio image,
And it can still work after apply this patch.
Okay, that's what I wanted to know. However, I believe your patch to
be incorrect. You delete the assignments to initrd_start
Oh, I see,
I don't consider non-of platform kernels,
I will send V2 patch for this .
Thanks
-Original Message-
From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk]
Sent: Monday, September 15, 2014 6:30 PM
To: Wang, Yalin
Cc: 'Will Deacon'; 'linux-ker...@vger.kernel.org';