RE: [PATCH v2 1/2] mm: cma: split cma-reserved in dmesg log

2014-11-04 Thread PINTU KUMAR
nux-kernel@vger.kernel.org; linux...@kvack.org; > pintu_agar...@yahoo.com; c...@samsung.com; vishnu...@samsung.com; > rohit...@samsung.com; ed.savi...@samsung.com > Subject: Re: [PATCH v2 1/2] mm: cma: split cma-reserved in dmesg log > > On Wed, 22 Oct 2014, Pintu Kumar wrote: > > &g

Re: [PATCH v2 1/2] mm: cma: split cma-reserved in dmesg log

2014-11-03 Thread David Rientjes
On Wed, 22 Oct 2014, Pintu Kumar wrote: > diff --git a/include/linux/cma.h b/include/linux/cma.h > index 0430ed0..0b75896 100644 > --- a/include/linux/cma.h > +++ b/include/linux/cma.h > @@ -15,6 +15,7 @@ > > struct cma; > > +extern unsigned long totalcma_pages; > extern phys_addr_t cma_get_

Re: [PATCH v2 1/2] mm: cma: split cma-reserved in dmesg log

2014-10-24 Thread Michal Nazarewicz
>> On Wed, Oct 22 2014, Pintu Kumar wrote: >>> diff --git a/mm/page_alloc.c b/mm/page_alloc.c >>> index dd73f9a..ababbd8 100644 >>> --- a/mm/page_alloc.c >>> +++ b/mm/page_alloc.c >>> @@ -110,6 +110,7 @@ static DEFINE_SPINLOCK(managed_page_count_lock); >>> >>> unsigned long totalram_pages __re

RE: [PATCH v2 1/2] mm: cma: split cma-reserved in dmesg log

2014-10-24 Thread PINTU KUMAR
Cc: pintu_agar...@yahoo.com; c...@samsung.com; vishnu...@samsung.com; > rohit...@samsung.com; ed.savi...@samsung.com > Sent: Thursday, 23 October 2014 10:31 PM > Subject: Re: [PATCH v2 1/2] mm: cma: split cma-reserved in dmesg log > > On Wed, Oct 22 2014, Pintu Kumar wrote: >> Whe

Re: [PATCH v2 1/2] mm: cma: split cma-reserved in dmesg log

2014-10-23 Thread Michal Nazarewicz
On Wed, Oct 22 2014, Pintu Kumar wrote: > When the system boots up, in the dmesg logs we can see > the memory statistics along with total reserved as below. > Memory: 458840k/458840k available, 65448k reserved, 0K highmem > > When CMA is enabled, still the total reserved memory remains the same. >