[PATCH/RFC 5/11] numa - Automatic-migration - x86_64 check notify migrate pending
Lee Schermerhorn <[email protected]> Thu, 11 Nov 2010 15:01:43 -0500
| Newsgroups | org.kernel.vger.linux-numa |
|---|---|
| Message-ID | <[email protected]> |
AutoPage Migration - x86_64 check/notify internode migration Hook check for task memory migration for x86_64. Signed-off-by: Lee Schermerhorn <[email protected]> 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 <linux/personality.h> #include <linux/uaccess.h> #include <linux/user-return-notifier.h> +#include <linux/auto-migrate.h> #include <asm/processor.h> #include <asm/ucontext.h> @@ -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 */