[lkml]   [2003]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] Make diskstats per-cpu using kmalloc_percpu
    On Mon, Feb 24, 2003 at 11:56:10PM -0800, Andrew Morton wrote:
    > Ravikiran G Thirumalai <> wrote:
    > >
    > > This version makes the disk stats on struct gendisk per-cpu.
    > Well OK, but it has lots of SCARY UPPER-CASE MACROS and disk_stat_inc(),
    > disk_stat_dec() and disk_stat_sub() can all be defined in terms of
    > disk_stat_add().
    > I did this to it:

    Ok, I don't have a preference one way or the other. I used upper case
    since mib stats used upper case macros (it was that way before I
    twiddled with it).
    I'll use lower case macros for the per partition stats too.

    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-03-22 13:33    [W:0.018 / U:29.988 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site