Messages in this thread | | | Date | Wed, 9 Jan 2002 20:33:12 -0200 (BRST) | From | Rik van Riel <> | Subject | Re: bounce buffer usage |
| |
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" document
http://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/
| |