Re: CMA and zone watermarks

Marek Szyprowski
2012-10-09T04:53:02Z

Hello,

On 10/9/2012 6:43 AM, Minchan Kim wrote:
> On Tue, Oct 09, 2012 at 05:12:21AM +0200, Marek Szyprowski wrote:
>> On 10/9/2012 5:10 AM, Minchan Kim wrote:
>>> On Mon, Oct 08, 2012 at 05:41:14PM +0200, Rabin Vincent wrote:

>>> Fortunately, recently, Bart sent a patch about that.
>>> http://marc.info/?l=linux-mm&m=134763299016693&w=2
>>>
>>> Could you test above patches in your kernel?
>>> You have to apply [2/4], [3/4], [4/4] and don't need [1/4].
>>
>> AFAIR without patch [1/4], free cma page counter will go below zero
>> and weird thing will happen, so better apply the complete patchset.
>
> I can't understand your point. [1/4] is just fix for correcting trace
> No?

I just remember we ran into such strange negative number of free cma
pages issue without that patch, but maybe the final patchset will simply
fail to apply without the first patch.

Best regards
--
Marek Szyprowski
Samsung Poland R&D Center