From: Colin Cross Date: Fri, 13 Dec 2013 22:24:51 +0000 (-0800) Subject: ion: index client->handles rbtree by buffer X-Git-Tag: v3.14-rc1~150^2~400 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1cf36823407751d1ad1168bc718cf5a0ac5dbf4;p=pandora-kernel.git ion: index client->handles rbtree by buffer The only remaining users of the client->handles rbtree are iterating through it like a list. Keep the rbtree, but change its index to be the buffer address instead of the handle address, which makes ion_handle_lookup a fast rbtree search. Signed-off-by: Colin Cross [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed