From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Schermerhorn Subject: [PATCH/RFC 5/11] numa - Automatic-migration - x86_64 check notify migrate pending Date: Thu, 11 Nov 2010 15:01:43 -0500 Message-ID: <20101111200143.12641.99674.sendpatchset@zaphod.localdomain> References: <20101111200103.12641.80303.sendpatchset@zaphod.localdomain> Return-path: In-Reply-To: <20101111200103.12641.80303.sendpatchset@zaphod.localdomain> Sender: linux-numa-owner@vger.kernel.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-numa@vger.kernel.org Cc: akpm@linux-foundation.org, Mel Gorman , cl@linux-foundation.org, Nick Piggin , Hugh Dickins , KOSAKI Motohiro , andi@firstfloor.org, David Rientjes , Avi Kivity , Andrea Arcangeli AutoPage Migration - x86_64 check/notify internode migration Hook check for task memory migration for x86_64. Signed-off-by: Lee Schermerhorn arch/x86/kernel/signal.c | 3 +++ 1 file changed, 3 insertions(+) Index: linux-2.6.36-mmotm-101103-1217/arch/x86/kernel/signal.c =================================================================== --- linux-2.6.36-mmotm-101103-1217.orig/arch/x86/kernel/signal.c +++ linux-2.6.36-mmotm-101103-1217/arch/x86/kernel/signal.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -857,6 +858,8 @@ do_notify_resume(struct pt_regs *regs, v if (thread_info_flags & _TIF_USER_RETURN_NOTIFY) fire_user_return_notifiers(); + check_migrate_pending(); /* auto-migration hook */ + #ifdef CONFIG_X86_32 clear_thread_flag(TIF_IRET); #endif /* CONFIG_X86_32 */