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

2015-02-18 Thread Safonov Dmitry
d, but it may be very helpful after failed allocation to detect fragmentation problem: i.e, you failed to alloc 20 Mb from 100 Mb CMA region with 60 Mb free space, so you will know the reason. -- Best regards, Safonov Dmitry. -- To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH 3/3] cma: add functions to get region pages counters

2014-12-30 Thread Safonov Dmitry
list_for_each_entry(cmabuf, &cma->buffers_list, list) { On Tue, Dec 30 2014, Joonsoo Kim wrote: How about changing printing format like as meminfo or zoneinfo? CMARegion # Total: XXX Used: YYY MaxContig: ZZZ +1. I was also thinking about this actually. Yeah, I thought about it. Sure

Re: [PATCH 3/3] cma: add functions to get region pages counters

2014-12-28 Thread Safonov Dmitry
On 12/27/2014 10:18 AM, SeongJae Park wrote: Hello, How about 'CMA Region' rather than 'CMARegion'? Sure. -- Best regards, Safonov Dmitry. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ker