aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/intel_txt.txt
diff options
context:
space:
mode:
authorJuan Gutierrez <jgutierrez@ti.com>2011-09-06 09:30:16 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:36:31 -0800
commitb323615a633b4ac47834844f330f9cc329aeaf2b (patch)
treeb5649d1c3dee0d728e238bd95e6bc416615de517 /Documentation/intel_txt.txt
parent044ee31ce0a51153f27a9d8c55ea12db32e59667 (diff)
downloadkernel_samsung_smdk4412-b323615a633b4ac47834844f330f9cc329aeaf2b.zip
kernel_samsung_smdk4412-b323615a633b4ac47834844f330f9cc329aeaf2b.tar.gz
kernel_samsung_smdk4412-b323615a633b4ac47834844f330f9cc329aeaf2b.tar.bz2
hwspinlock/core: use a mutex to protect the radix tree
commit 93b465c2e186d96fb90012ba0f9372eb9952e732 upstream. Since we're using non-atomic radix tree allocations, we should be protecting the tree using a mutex and not a spinlock. Non-atomic allocations and process context locking is good enough, as the tree is manipulated only when locks are registered/ unregistered/requested/freed. The locks themselves are still protected by spinlocks of course, and mutexes are not involved in the locking/unlocking paths. Signed-off-by: Juan Gutierrez <jgutierrez@ti.com> [ohad@wizery.com: rewrite the commit log, #include mutex.h, add minor commentary] [ohad@wizery.com: update register/unregister parts in hwspinlock.txt] Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/intel_txt.txt')
0 files changed, 0 insertions, 0 deletions