[PATH V2 5/6] arm64: mm: Enable HAVE_RCU_TABLE_FREE logic
From: Steve Capper <hidden>
Date: 2014-08-27 13:08:34
Also in:
linux-arch, linux-mm
From: Steve Capper <hidden>
Date: 2014-08-27 13:08:34
Also in:
linux-arch, linux-mm
On Wed, Aug 27, 2014 at 11:48:41AM +0100, Catalin Marinas wrote:
On Thu, Aug 21, 2014 at 04:43:31PM +0100, Steve Capper wrote:quoted
In order to implement fast_get_user_pages we need to ensure that the page table walker is protected from page table pages being freed from under it. This patch enables HAVE_RCU_TABLE_FREE, any page table pages belonging to address spaces with multiple users will be call_rcu_sched freed. Meaning that disabling interrupts will block the free and protect the fast gup page walker. Signed-off-by: Steve Capper <redacted>I'm happy to take this patch independently of this series. But if the whole series goes in via some other tree (mm): Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Thanks. If patch #1 looks okay to the mm folks, I'm hoping this patch can be merged via the same tree.