Re: [PATCH -rt] free_pgtables deadlock

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

 



* Daniel Walker <[email protected]> wrote:

> Following is a fix for this deadlock .
> 
> What's happening is task 2 holds the i_mmap_lock from unmap_region(), 
> then it enters zap_page_range() where it tried to acquire the locked 
> mmu_gathers percpu .
> 
> While task 1) holds the mmu_gathers percpu lock from unmap_region() 
> and then tried to aquire i_mmap_lock inside unlink_file_vma() .
> 
> It looks like it's possible to drop the mmu_gathers prior to calling 
> unlink_file_vma() , but it's only done if there's more than one vma .
> 
> This deadlock was seen by Deepak Saxena on an ARM Versatile board.

thanks, applied.

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux