Messages in this thread Patch in this message | | | Date | Thu, 19 Nov 1998 07:42:39 +0100 | From | Philipp Rumpf <> | Subject | Re: UP flu |
| |
On Wed, Nov 18, 1998 at 06:25:20PM +0100, Philipp Rumpf wrote: > Anyway, could those of you experiencing the slow-downs, reboots etc. with > UP kernels try the following workaround (it will just avoid calling hard_idle() > completely) ? Sorry, forgot the patch. Philipp Rumpf --- linux/arch/i386/kernel/process.c Wed Nov 11 00:20:28 1998 +++ linux-2/arch/i386/kernel/process.c Tue Nov 17 20:37:35 1998 @@ -129,9 +129,10 @@ check_pgt_cache(); start_idle = jiffies; } - if (jiffies - start_idle > HARD_IDLE_TIMEOUT) + /* if (jiffies - start_idle > HARD_IDLE_TIMEOUT) hard_idle(); - else { + else */ + { if (boot_cpu_data.hlt_works_ok && !hlt_counter && !current->need_resched) __asm__("hlt"); } | |