Re: [PATCH 2/4] mm: cma: add functions to get region pages counters
From: Gioh Kim
Date: Sat Feb 14 2015 - 02:32:39 EST
2015-02-13 오전 7:15에 Stefan Strogin 이(가) 쓴 글:
> From: Dmitry Safonov <d.safonov@xxxxxxxxxxxxxxxxxxx>
>
> 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 after I check it.
Could you tell me why biggest free chunk size is necessary?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/