[lkml]   [2005]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] optimize disk_round_stats
    On Thu, 2005-10-13 at 12:19 -0700, Chen, Kenneth W wrote:
    > Following the same idea, it occurs to me that we should only update
    > disk stat when "now" is different from disk->stamp. Otherwise, we
    > are again needlessly adding zero to the stats.

    have you measured this?
    Conditionals in code are not free, so it might well be more expensive...

    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: 2005-10-14 12:23    [W:0.020 / U:73.380 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site