public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] mv_xor: Spinlock cleanup
@ 2014-03-07 19:46 Ezequiel Garcia
  2014-03-07 19:46 ` [PATCH v2 1/3] dma: mv_xor: Remove unneeded mv_xor_clean_completed_slots() call Ezequiel Garcia
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ezequiel Garcia @ 2014-03-07 19:46 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-26 14:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07 19:46 [PATCH v2 0/3] mv_xor: Spinlock cleanup Ezequiel Garcia
2014-03-07 19:46 ` [PATCH v2 1/3] dma: mv_xor: Remove unneeded mv_xor_clean_completed_slots() call Ezequiel Garcia
2014-03-07 19:46 ` [PATCH v2 2/3] dma: mv_xor: Remove all callers of mv_xor_slot_cleanup() Ezequiel Garcia
2014-03-07 19:46 ` [PATCH v2 3/3] dma: mv_xor: Rename __mv_xor_slot_cleanup() to mv_xor_slot_cleanup() Ezequiel Garcia
2014-03-13 19:12 ` [PATCH v2 0/3] mv_xor: Spinlock cleanup Ezequiel Garcia
2014-03-26 14:48   ` Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox