Re: [PATCH] mm/rmap: ensure the validity of mapping vma which referenced an anon page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 11, 2020 at 12:19:43PM +0300, Kirill A. Shutemov wrote:
> On Wed, Mar 11, 2020 at 03:45:13PM +0800, qiwuchen55@xxxxxxxxx wrote:
> > From: chenqiwu <chenqiwu@xxxxxxxxxx>
> > 
> > When finding all the mapping vmas for an anon page by anon_vma, there
> > is a panic risk that one mapping vma or its vm_mm has been released by
> > someone.
> 
> What? Who would be able to release the VMA or the mm_struct? We hold
> anon_vma lock. It doesn't make sense to me. Something else is broken.
>

There is only log (no kdump) in my hand. It's hard to say who released the
VMA's mm_struct before we hold the anon_vma lock.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux