From: Lior Amsalem Date: Tue, 26 May 2015 13:07:36 +0000 (+0200) Subject: dmaengine: mv_xor: improve descriptors list handling and reduce locking X-Git-Tag: omap-for-v4.2/fixes-rc1^2~74^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbea28a2afb4251f985af52eb0180f097acaee16;p=pandora-kernel.git dmaengine: mv_xor: improve descriptors list handling and reduce locking This patch change the way free descriptors are marked. Instead of having a field for descriptor in use, all the descriptors in the all_slots list are free for use. This simplify the allocation method and reduce the locking needed. Signed-off-by: Lior Amsalem Reviewed-by: Ofer Heifetz Signed-off-by: Maxime Ripard Signed-off-by: Vinod Koul --- Reading git-diff-tree failed