lkml.org 
[lkml]   [2013]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 1/8] mm: pcp: rename percpu pageset functions
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.





\
 
 \ /
  Last update: 2013-10-17 22:21    [W:0.058 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site