lkml.org 
[lkml]   [2006]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -rt] free_pgtables deadlock

* Daniel Walker <dwalker@mvista.com> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-18 10:05    [W:0.025 / U:1.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site