lkml.org 
[lkml]   [2009]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] remove rq->lock from cpuacct cgroup v2
    On Wed, 4 Mar 2009 17:20:05 +0900
    KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

    > On Wed, 4 Mar 2009 13:24:43 +0530
    > Bharata B Rao <bharata.rao@gmail.com> wrote:
    > At first, generic per-cpu counter sounds interesting but to be honest,
    > some special handling is used for cpuacct based on its characteristic.
    >
    > - Writer works under non-preemptable context.
    > - There is only one writer.
    >
    If utime/stime updates works on above context, using the same code will be good.

    I don't use any cpuacct structure specific in routines...
    If you want me to rewrite it, I'll do. please request what you want.

    Thanks,
    -Kame



    \
     
     \ /
      Last update: 2009-03-04 09:51    [W:0.026 / U:0.424 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site