lkml.org 
[lkml]   [2011]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 09/10] provide a version of cpuusage statistics inside cpu cgroup
From
Date
On Sun, 2011-10-02 at 23:21 +0400, Glauber Costa wrote:
> + if (tg->cpustat)
> + free_percpu(tg->cpustat);
> + if (tg->cpuusage)
> + free_percpu(tg->cpuusage);

void free_percpu(void __percpu *ptr)
{
void *addr;
struct pcpu_chunk *chunk;
unsigned long flags;
int off;

if (!ptr)
return;
...
}


\
 
 \ /
  Last update: 2011-10-05 11:17    [W:0.204 / U:1.396 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site