On Mon, Nov 5, 2012 at 11:31 AM, Michel Lespinasse <walken@xxxxxxxxxx> wrote: > On Sun, Nov 4, 2012 at 6:20 PM, Bob Liu <lliubbo@xxxxxxxxx> wrote: >> The loop for each entry of vma->anon_vma_chain in validate_mm() is not >> protected by anon_vma lock. >> I think that may be the cause. >> >> Michel, What's your opinion? > > Good catch, I think that's it. Somehow it had not occured to me to Hmm, I attached a simple fix patch. Sasha, Could you have a test to see whether it can fix your issue? Thanks, -Bob
Attachment:
0001-mm-add-anon_vma_lock-to-validate_mm.patch
Description: Binary data