Messages in this thread |  | | Date | Wed, 5 Mar 2014 15:57:28 -0600 (CST) | From | Christoph Lameter <> | Subject | Re: [PATCH 31/48] uv: Replace __get_cpu_var |
| |
The driver seems to use local64_t to define a single static instance of a counter and then seems to think that it is safe to increment the counter from multiple processors using local64_inc and friends. Common misunderstanding and a reason why I wanted the this_cpu operations.
The counters seem to be exported via module parameters.. So I guess we need to define these per cpu and then sum them up when they need to be displayed.
Dimitri?
Maybe lets move this outside of this patchset.
|  |