4 ms·
This is pretty much correct. Another solution to this is to have an array[#CPU] of counters/structures and you only update the counter/structure for that speci
by gipyro 16y ago
This is pretty much correct. Another solution to this is to have an array[#CPU] of counters/structures and you only update the counter/structure for that specific CPU.
- kmod 16y agoNot quite -- you need to make sure that the counters are on separate cache lines, otherwise you'll still get the same issue.