diff options
author | Andrew Morton <akpm@osdl.org> | 2004-05-14 05:41:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-14 05:41:31 -0700 |
commit | 64525acc0e653d8295edcaa4332b79512483d92b (patch) | |
tree | b16ca46778be891e41686ca9857a6c54508ddae5 /kernel | |
parent | 5975a1db0182b107ae5e2df9d8d54b29eb99c372 (diff) | |
download | history-64525acc0e653d8295edcaa4332b79512483d92b.tar.gz |
[PATCH] revert the process-migration-speedup patch
David Mosberger asked that this be backed out:
"I do not believe that flushing the TLB before migration is be the right thing
to do on ia64 machines which support global TLB purges (i.e., all but SGI's
machines)."
It was of huge benefit for the SGI machines, so work is ongoing.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 08f0cbcb2e65d4..40591c6bb9567d 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -26,8 +26,6 @@ #include <linux/highmem.h> #include <linux/smp_lock.h> #include <asm/mmu_context.h> -#include <linux//pagemap.h> -#include <asm/tlb.h> #include <linux/interrupt.h> #include <linux/completion.h> #include <linux/kernel_stat.h> @@ -1302,14 +1300,6 @@ static void sched_migrate_task(task_t *p, int dest_cpu) wake_up_process(mt); put_task_struct(mt); wait_for_completion(&req.done); - - /* - * we want a new context here. This eliminates TLB - * flushes on the cpus where the process executed prior to - * the migration. - */ - tlb_migrate_prepare(current->mm); - return; } out: |