Re: [PATCH 31/32] target: Don't release and re-acquire some spinlocks in loops

2013-12-16 Thread Nicholas A. Bellinger
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote: > Here are some instances where we're looping, but then dropping the > spinlock around the loop in the loop, because we need to be able to > sleep in the calls. Since everything is refcounted now, this should no > longer be needed and we can jus

[PATCH 31/32] target: Don't release and re-acquire some spinlocks in loops

2013-12-13 Thread Andy Grover
Here are some instances where we're looping, but then dropping the spinlock around the loop in the loop, because we need to be able to sleep in the calls. Since everything is refcounted now, this should no longer be needed and we can just hold the locks the whole time. Signed-off-by: Andy Grover