From 7e54bc75751cfb3c3eb5da7bdc900b8adcc2cda4 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Mon, 11 Feb 2002 22:47:52 +0100 Subject: merge to the -K3 scheduler. --- kernel/fork.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'kernel/fork.c') diff --git a/kernel/fork.c b/kernel/fork.c index 94ccd2aead70..3ba556b47705 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -749,14 +749,11 @@ int do_fork(unsigned long clone_flags, unsigned long stack_start, * runqueue lock is not a problem. */ current->time_slice = 1; - scheduler_tick(current); + scheduler_tick(0, 0); } p->sleep_timestamp = jiffies; __restore_flags(flags); - if (p->policy == SCHED_OTHER) - p->prio = MAX_PRIO - 1 - ((MAX_PRIO - 1 - p->prio) * 1) / 3; - /* * Ok, add it to the run-queues and make it * visible to the rest of the system. -- cgit v1.2.3