[PATCH v2 0/3] mv_xor: Spinlock cleanup
Ezequiel Garcia
ezequiel.garcia at free-electrons.com
Fri Mar 7 14:46:44 EST 2014
Vinod, Dan,
This series is v2 of the one previously sent by Thomas Petazzoni [1].
I've tried to address the comments made by Andi and Dan, and also kept
Thomas' ultimate goal: get rid of the mv_xor_slot_cleanup() function
(which takes the spinlock).
The first patch removes the unneeded call to mv_xor_clean_completed_slots(),
in mv_xor_as explained by Dan [2].
The other two patches replace the calls to mv_xor_slot_cleanup() with
calls to __mv_xor_slot_cleanup(). This allows to have the same "spinlock held"
requirement on all callers.
The patchset is based on v3.14-rc5 and has been tested on an Armada XP GP board.
[1] http://www.spinics.net/lists/arm-kernel/msg297176.html
[2] http://www.spinics.net/lists/arm-kernel/msg297518.html
Ezequiel Garcia (3):
dma: mv_xor: Remove unneeded mv_xor_clean_completed_slots() call
dma: mv_xor: Remove all callers of mv_xor_slot_cleanup()
dma: mv_xor: Rename __mv_xor_slot_cleanup() to mv_xor_slot_cleanup()
drivers/dma/mv_xor.c | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
--
1.9.0
More information about the linux-arm-kernel
mailing list