lkml.org 
[lkml]   [2005]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] Real-Time Preemption, using msecs_to_jiffies() instead of HZ
Ingo Molnar ha scritto:
> oops, indeed. (i've also forwarded your patch to akpm, as the softlockup
> patch is included in -mm too)

OK, thank you!


I also found another couple of those in drivers/char/rtc.c file.
Here is a quick fix:

--- ./rtp-2.6.12-rc6-V0.7.48-17.orig 2005-06-13 01:26:53.000000000 +0000
+++ ./rtp-2.6.12-rc6-V0.7.48-17 2005-06-13 01:58:13.000000000 +0000
@@ -17044,7 +17044,7 @@
- barrier();
- cpu_relax();
- }
-+ msleep(2*HZ/100);
++ msleep(20);

spin_lock_irq(&rtc_lock);
year = CMOS_READ(RTC_YEAR);
@@ -17102,7 +17102,7 @@
- barrier();
- cpu_relax();
- }
-+ msleep(2*HZ/100);
++ msleep(20);

/*
* Only the values that we read from the RTC are set. We leave
Regards,
--
Luca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-13 18:44    [W:0.041 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site