lkml.org 
[lkml]   [2008]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 10/10] Bsdacct: account dying tasks in all relevant namespaces
    On Thu, 15 May 2008 15:11:55 +0400 Pavel Emelyanov <xemul@openvz.org> wrote:

    > +/**
    > + * acct_process - now just a wrapper around do_acct_process

    comment seems wrong.

    > + * handles process accounting for an exiting task
    > + */
    > +void acct_process(void)
    > +{
    > + struct pid_namespace *ns;
    > +
    > + for (ns = task_active_pid_ns(current); ns != NULL; ns = ns->parent)
    > + acct_process_in_ns(ns);
    > +}

    Is it really safe to walk this list locklessly?


    \
     
     \ /
      Last update: 2008-05-16 04:47    [W:0.020 / U:1.148 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site