Re: [patch] Make diskstats per-cpu using kmalloc_percpu

From: Rick Lindsley (ricklind@us.ibm.com)
Date: Tue Feb 25 2003 - 03:28:05 EST


    This version makes the disk stats on struct gendisk per-cpu.
    I am working on making the per partition stats per-cpu too (struct
    hd_struct).

In general I'm in favor of this. It seems intuitive to me that counters
of this type should be per-cpu. But the question is, do we actually
see any gains? At the very least, are we sure we've not introduced any
degradation? Has any of your testing so far been measuring performance or
just checking for correctness?

Rick
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:27 EST