RE: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-18 Thread Wang, Yalin
kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org' Subject: Re: [PATCH] arm64:free_initrd_mem should also free the memblock On Thu, Sep 18, 2014 at 05:38:54PM +0800, Wang, Yalin wrote: > Hi Russell, > > mm.. > I see your meaning, > But how to debug reserve

Re: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-18 Thread Russell King - ARM Linux
On Thu, Sep 18, 2014 at 05:38:54PM +0800, Wang, Yalin wrote: > Hi Russell, > > mm.. > I see your meaning, > But how to debug reserved memory, > I mean how to know which physical memory are reserved in kernel if > Not use /sys/kernel/debug/memblock/reserved debug file ? What are you trying to do

RE: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-18 Thread Wang, Yalin
King - ARM Linux [mailto:li...@arm.linux.org.uk] Sent: Thursday, September 18, 2014 2:13 AM To: Catalin Marinas Cc: Wang, Yalin; Will Deacon; 'linux...@kvack.org'; 'linux-kernel@vger.kernel.org'; 'linux-arm-ker...@lists.infradead.org' Subject: Re: [PATCH] arm64:free_

Re: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-17 Thread Russell King - ARM Linux
On Wed, Sep 17, 2014 at 05:28:23PM +0100, Catalin Marinas wrote: > On Tue, Sep 16, 2014 at 02:53:55AM +0100, Wang, Yalin wrote: > > The reason that a want merge this patch is that > > It confuse me when I debug memory issue by > > /sys/kernel/debug/memblock/reserved debug file, > > It show lots o

Re: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-17 Thread Catalin Marinas
On Tue, Sep 16, 2014 at 02:53:55AM +0100, Wang, Yalin wrote: > The reason that a want merge this patch is that > It confuse me when I debug memory issue by > /sys/kernel/debug/memblock/reserved debug file, > It show lots of un-correct reserved memory. > In fact, I also send a patch to cma driver

RE: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-15 Thread Wang, Yalin
Hi The reason that a want merge this patch is that It confuse me when I debug memory issue by /sys/kernel/debug/memblock/reserved debug file, It show lots of un-correct reserved memory. In fact, I also send a patch to cma driver part For this issue too: http://ozlabs.org/~akpm/mmots/broken-out/f

Re: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-15 Thread Will Deacon
On Mon, Sep 15, 2014 at 07:40:23PM +0100, Russell King - ARM Linux wrote: > On Mon, Sep 15, 2014 at 07:33:34PM +0100, Will Deacon wrote: > > On Fri, Sep 12, 2014 at 11:17:18AM +0100, Wang, Yalin wrote: > > > this patch fix the memblock statics for memblock > > > in file /sys/kernel/debug/memblock/r

Re: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-15 Thread Russell King - ARM Linux
On Mon, Sep 15, 2014 at 07:33:34PM +0100, Will Deacon wrote: > On Fri, Sep 12, 2014 at 11:17:18AM +0100, Wang, Yalin wrote: > > this patch fix the memblock statics for memblock > > in file /sys/kernel/debug/memblock/reserved > > if we don't call memblock_free the initrd will still > > be marked as

Re: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-15 Thread Will Deacon
On Fri, Sep 12, 2014 at 11:17:18AM +0100, Wang, Yalin wrote: > this patch fix the memblock statics for memblock > in file /sys/kernel/debug/memblock/reserved > if we don't call memblock_free the initrd will still > be marked as reserved, even they are freed. > > Signed-off-by: Yalin Wang > --- >