[lkml]   [2006]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Patch 0/6] delay accounting & taskstats fixes
    Christoph Hellwig wrote:
    > On Tue, Jul 11, 2006 at 12:23:58AM -0400, Shailabh Nagar wrote:
    >>Chandra, Balbir & I have been putting taskstats and delay accounting
    >>patches through some extensive testing on multiple platforms.
    >>Following are a set of patches that fix some bugs found as well as
    >>some cleanups of the code. Some results showing the cpumask feature
    >>works as expected will follow separately.
    > Btw, did you ever explain what this delay accounting code is useful for
    > exactly?

    Previous postings have explained the rationale, had a good summary as always,

    > It's an awfull lot of code that doesn't seem to have a huge
    > use.

    The delay accounting part of the code is quite small (just a few
    lines of timestamping code place in core kernel code) and much of the
    remaining size comes from the interface. Since the interface is designed
    to be of generic use towards ANY per-task accounting needs, discussions and
    code have been fairly involved. We went through a long discussion of
    potential exploiters:

    (see thread under [Patch 0/8] per-task delay accounting at

    > While we're at it do you have a pointer to the associated userspace code?

    Its part of the patches in Documentation/accounting/getdelays.c

    and the last-but-one version of it can be viewed at its location in the -mm

    (The just accepted patches updates the documentation especially the parts
    relating to cpumasks but the above should also suffice to give a flavor of
    what userspace could do).


    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: 2006-07-11 17:37    [W:0.022 / U:7.432 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site