[lkml]   [2007]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Per container statistics (containerstats)
    On 6/7/07, Balbir Singh <> wrote:
    > > this needs tasklist_lock?
    > >
    > rcu_read_lock() should be fine. From Eric's patch at
    > 2.6.17-mm2 - proc-remove-tasklist_lock-from-proc_pid_readdir.patch
    > The patch mentions that "We don't need the tasklist_lock to safely
    > iterate through processes anymore."

    Containers V10 includes an iterator interface for listing the member
    tasks of a container, which avoids scanning the entire tasklist.
    Downside is that it currently requires taking a read_lock on a global
    lock, but I hope to improve on that in the future.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-06-08 04:33    [W:0.020 / U:5.884 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site