From: Lee Schermerhorn <lee.schermerhorn@hp.com>
To: linux-mm <linux-mm@kvack.org>
Subject: [PATCH/RFC] AutoPage Migration - V0.1 - 5/8 x64_64 check/notify internode migration
Date: Fri, 10 Mar 2006 14:49:35 -0500 [thread overview]
Message-ID: <1142020175.5204.24.camel@localhost.localdomain> (raw)
AutoPage Migration - V0.1 - 5/8 x64_64 check/notify internode migration
Hook check for task memory migration for x86_64.
Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>
Index: linux-2.6.16-rc5-git6/arch/x86_64/kernel/signal.c
===================================================================
--- linux-2.6.16-rc5-git6.orig/arch/x86_64/kernel/signal.c 2006-01-02 22:21:10.000000000 -0500
+++ linux-2.6.16-rc5-git6/arch/x86_64/kernel/signal.c 2006-03-03 10:26:44.000000000 -0500
@@ -24,6 +24,8 @@
#include <linux/stddef.h>
#include <linux/personality.h>
#include <linux/compiler.h>
+#include <linux/auto-mmigrate.h>
+
#include <asm/ucontext.h>
#include <asm/uaccess.h>
#include <asm/i387.h>
@@ -497,6 +499,12 @@ void do_notify_resume(struct pt_regs *re
clear_thread_flag(TIF_SINGLESTEP);
}
+ /*
+ * check for task memory migration before delivering
+ * signals so that hander[s] use memory in new node.
+ */
+ check_migrate_pending();
+
/* deal with pending signal delivery */
if (thread_info_flags & _TIF_SIGPENDING)
do_signal(regs,oldset);
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
reply other threads:[~2006-03-10 19:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1142020175.5204.24.camel@localhost.localdomain \
--to=lee.schermerhorn@hp.com \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox