lkml.org 
[lkml]   [1998]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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");
}
\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.044 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site