lkml.org 
[lkml]   [2009]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/5] hrtimer: per-cpu cached values of ktime
    On Fri, 08 May 2009 18:52:20 +0200
    Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

    > --- linux-2.6.orig/include/linux/hrtimer.h
    > +++ linux-2.6/include/linux/hrtimer.h
    > @@ -173,8 +173,13 @@ struct hrtimer_cpu_base {
    > int hres_active;
    > unsigned long nr_events;
    > #endif
    > + ktime_t ktime_irq;
    > + int ktime_irq_set;
    > };

    struct hrtimer_cpu_base has nice kerneldoc which (used to) describe
    its fields.

    Please please please always always always comment data structures. The
    bang-for-your-comment-buck is higher than anywhere else.



    \
     
     \ /
      Last update: 2009-05-09 01:17    [W:0.026 / U:89.048 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site