Re: [PATCH] powerpc: Fix deadlock in icswx code

2011-09-27 Thread Anton Blanchard
Hi Jimi, > It would really help me a lot if you could review and maybe merge > this with my earlier patch that splits this file. > All it does is split.. I > promise. You don't have to take the other stuff.. yet :) Sorry it took so long to get to this.

Re: [PATCH] powerpc: Fix deadlock in icswx code

2011-09-15 Thread Jimi Xenidis
On Sep 14, 2011, at 2:43 PM, Anton Blanchard wrote: Hi Anton, It would really help me a lot if you could review and maybe merge this with my earlier patch that splits this file. All it does is split.. I promise. You don't have to take the other stuf

[PATCH] powerpc: Fix deadlock in icswx code

2011-09-14 Thread Anton Blanchard
The icswx code introduced an A-B B-A deadlock: CPU0CPU1 lock(&anon_vma->mutex); lock(&mm->mmap_sem); lock(&anon_vma->mutex); lock(&mm->mmap_sem); Instead of using the mmap_sem to