[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151023134553.GE27292@linux-uzut.site>
Date: Fri, 23 Oct 2015 06:45:53 -0700
From: Davidlohr Bueso <dave@...olabs.net>
To: Mike Kravetz <mike.kravetz@...cle.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Dave Hansen <dave.hansen@...ux.intel.com>,
Naoya Horiguchi <n-horiguchi@...jp.nec.com>,
Hugh Dickins <hughd@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] mm/hugetlb: i_mmap_lock_write before unmapping in
remove_inode_hugepages
On Wed, 21 Oct 2015, Mike Kravetz wrote:
>Code was added to remove_inode_hugepages that will unmap a page if
>it is mapped. i_mmap_lock_write() must be taken during the call
>to hugetlb_vmdelete_list(). This is to prevent mappings(vmas) from
>being added or deleted while the list of vmas is being examined.
^^^^ interval-tree.
>
>Signed-off-by: Mike Kravetz <mike.kravetz@...cle.com>
Reviewed-by: Davidlohr Bueso <dbueso@...e.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists