Re: [RFC-PATCH] clocksource: update lpj if clocksource has been changed.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: MyungJoo Ham
Date: Thursday, November 11, 2010 - 4:58 pm

On Fri, Nov 12, 2010 at 5:02 AM, john stultz <johnstul@us.ibm.com> wrote:

We are working on ARM/S5PC210 with two cores. Actually, in single core
systems, clocksource changes that affect loops-per-jiffy do not matter
much as in multi-core systems because we do not have something to
compare with in such a system. This patch adds some overheads on
changing system clocksources; however, is happens only once at boot.

Or, would it be better if we add another entry to struct clocksource;
i.e., "bool recalibrate" in struct clocksource? Then, we can put
recalibration routine in clocksource_select() at the end of the
function deciding whether to recalibrate based on the
"base->recalibrate" value. How about this?



Cheers!
- MyungJoo




-- 
MyungJoo Ham (함명주), Ph.D.
Mobile Software Platform Lab,
Digital Media and Communications (DMC) Business
Samsung Electronics
cell: 82-10-6714-2858
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC-PATCH] clocksource: update lpj if clocksource has ..., MyungJoo Ham, (Thu Nov 11, 4:58 pm)