summaryrefslogtreecommitdiff
path: root/drivers/switch/switch_gpio.c
diff options
context:
space:
mode:
authorRebecca Schultz Zavin <rebecca@android.com>2012-10-11 12:46:05 -0700
committerArve Hjønnevåg <arve@android.com>2013-07-01 14:16:11 -0700
commit7572b1e72912783a7f660921bc66fe82d0a92952 (patch)
tree49067cc5816003ce7e67e281f22bcd3bfaca4c2f /drivers/switch/switch_gpio.c
parentf43a4faa0e2a37748a395d395c844be734f56093 (diff)
downloadolio-linux-3.10-7572b1e72912783a7f660921bc66fe82d0a92952.tar.xz
olio-linux-3.10-7572b1e72912783a7f660921bc66fe82d0a92952.zip
gpu: ion: Refactor locking
Removes contention for lock between allocate and free by reducing the length of time the lock is held for. Split out a seperate lock to protect the list of heaps and replace it with a rwsem since the list will most likely only be updated during initialization. Change-Id: I3017ccaa2126c7a24ab22b18e1ee553983977c37 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Diffstat (limited to 'drivers/switch/switch_gpio.c')
0 files changed, 0 insertions, 0 deletions