lkml.org 
[lkml]   [2010]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateSat, 1 May 2010 15:51:10 +0200
FromJohannes Weiner <>
SubjectRe: [PATCH 0/2] Fix migration races in rmap_walk() V3
On Fri, Apr 30, 2010 at 08:28:53PM +0200, Andrea Arcangeli wrote:
> Subject: adapt mprotect to anon_vma chain semantics
>
> From: Andrea Arcangeli <aarcange@redhat.com>
>
> wait_split_huge_page interface changed.
>
> Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
> ---
>
> diff --git a/mm/huge_memory.c b/mm/huge_memory.c
> --- a/mm/huge_memory.c
> +++ b/mm/huge_memory.c
> @@ -929,7 +929,7 @@ int change_huge_pmd(struct vm_area_struc
> if (likely(pmd_trans_huge(*pmd))) {
> if (unlikely(pmd_trans_splitting(*pmd))) {
> spin_unlock(&mm->page_table_lock);
> - wait_split_huge_page(vma->anon_vma, pmd);
> + wait_split_huge_page(mm, pmd);

That makes mprotect-vma-arg obsolete, I guess.


\
 
 \ /
  Last update: 2010-05-01 15:53    [from the cache]
©2003-2010