[PATCH/RFC 5/11] numa - Automatic-migration - x86_64 check notify migrate pending

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



AutoPage Migration - x86_64 check/notify internode migration

Hook check for task memory migration for x86_64.

Signed-off-by:  Lee Schermerhorn <lee.schermerhorn@xxxxxx>

 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 */
--
To unsubscribe from this list: send the line "unsubscribe linux-numa" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [Devices]

  Powered by Linux