Re: [PATCH 2/4] mm: cma: add functions to get region pages counters

2015-02-18 Thread Safonov Dmitry
Hello, On 02/14/2015 10:32 AM, Gioh Kim wrote: > 2015-02-13 오전 7:15에 Stefan Strogin 이(가) 쓴 글: >> From: Dmitry Safonov >> >> Here are two functions that provide interface to compute/get used size >> and size of biggest free chunk in cma region. > I usually just try to allocate memory, not check fre

Re: [PATCH 2/4] mm: cma: add functions to get region pages counters

2015-02-13 Thread Gioh Kim
2015-02-13 오전 7:15에 Stefan Strogin 이(가) 쓴 글: > From: Dmitry Safonov > > Here are two functions that provide interface to compute/get used size > and size of biggest free chunk in cma region. I usually just try to allocate memory, not check free size before try, becuase free size can be changed

Re: [PATCH 2/4] mm: cma: add functions to get region pages counters

2015-02-12 Thread Joonsoo Kim
On Fri, Feb 13, 2015 at 01:15:42AM +0300, Stefan Strogin wrote: > From: Dmitry Safonov > > Here are two functions that provide interface to compute/get used size > and size of biggest free chunk in cma region. > Add that information to debugfs. > > Signed-off-by: Dmitry Safonov > Signed-off-by:

[PATCH 2/4] mm: cma: add functions to get region pages counters

2015-02-12 Thread Stefan Strogin
From: Dmitry Safonov Here are two functions that provide interface to compute/get used size and size of biggest free chunk in cma region. Add that information to debugfs. Signed-off-by: Dmitry Safonov Signed-off-by: Stefan Strogin --- include/linux/cma.h | 2 ++ mm/cma.c| 30