From: Luca Falavigna <dktrkranz@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Real-Time Preemption, using msecs_to_jiffies() instead of HZ
Date: Mon, 13 Jun 2005 02:10:34 +0000 [thread overview]
Message-ID: <42ACEB1A.6070700@gmail.com> (raw)
In-Reply-To: <20050611133246.GA29414@elte.hu>
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
prev parent reply other threads:[~2005-06-13 16:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-10 16:42 [PATCH] Real-Time Preemption, using msecs_to_jiffies() instead of HZ Luca Falavigna
2005-06-11 13:32 ` Ingo Molnar
2005-06-13 2:10 ` Luca Falavigna [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42ACEB1A.6070700@gmail.com \
--to=dktrkranz@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox