Messages in this thread Patch in this message | | | Date | Mon, 13 Jun 2005 02:10:34 +0000 | From | Luca Falavigna <> | Subject | Re: [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/
| |