diff options
author | Nathan Lynch <ntl@pobox.com> | 2007-05-23 04:51:25 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-25 10:58:11 +0400 |
commit | df211c8a478e16232ebbc16e650b19163183fcb6 (patch) | |
tree | 90972e63f445e0edad7a195a025ad3fffa9283f3 /fs | |
parent | 1a06e0fe96526e43bab90fbab2263b55fb3d45d1 (diff) | |
download | linux-df211c8a478e16232ebbc16e650b19163183fcb6.tar.xz |
[POWERPC] Remove spinlock from struct cpu_purr_data
cpu_purr_data is a per-cpu array used to account for stolen time on
partitioned systems. It used to be the case that cpus accessed each
others' cpu_purr_data, so each entry was protected by a spinlock.
However, the code was reworked ("Simplify stolen time calculation")
with the result that each cpu accesses its own cpu_purr_data and not
those of other cpus. This means we can get rid of the spinlock as
long as we're careful to disable interrupts when accessing
cpu_purr_data in process context.
Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions