From: Rebecca Schultz Zavin Date: Fri, 13 Dec 2013 22:24:16 +0000 (-0800) Subject: gpu: ion: Refactor locking X-Git-Tag: v3.14-rc1~150^2~435 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d7ab9a9e15b1d8965fb99b8486cae039a2de40e;p=pandora-kernel.git 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. Signed-off-by: Rebecca Schultz Zavin [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed