On Wed, 9 Jan 2002, Randy.Dunlap wrote:
> | + bounced_write++;
> | + } else
> | + bounced_read++;
> | }
>
> Is this the only place that kstat (kernel_stat) counters
> are not SMP safe...?
No, but we don't particularly care about that. If you care
about making the statistics SMP safe, you probably also want
to make them CPU local so the cacheline isn't bounced around
all the time ;)
cheers,
Rik
-- "Linux holds advantages over the single-vendor commercial OS" -- Microsoft's "Competing with Linux" documenthttp://www.surriel.com/ http://distro.conectiva.com/
- 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 : Tue Jan 15 2002 - 21:00:29 EST