Re: [RFC][PATCH 1/8] mm: pcp: rename percpu pageset functions

From: Dave Hansen
Date: Thu Oct 17 2013 - 12:12:37 EST


On 10/16/2013 06:32 PM, David Rientjes wrote:
>> > +static void pageset_setup_from_batch_size(struct per_cpu_pageset *p,
>> > + unsigned long batch)
>> > {
>> > - pageset_update(&p->pcp, 6 * batch, max(1UL, 1 * batch));
>> > + unsigned long high;
>> > + high = 6 * batch;
>> > + if (!batch)
>> > + batch = 1;
> high = 6 * batch should be here?

Ahh, nice catch, thanks. I'll fix that up and resend.



--
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/