public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Patches focus on clocksource_calc_mult_shift()
@ 2011-12-01  7:20 Yong Zhang
  2011-12-01  7:20 ` [PATCH 1/3] clocksource: Also tweak ->maxadj in clocksource_calc_mult_shift() Yong Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Yong Zhang @ 2011-12-01  7:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: John Stultz, Thomas Gleixner

Hi Thomas/John,

When I was tring to apply commit d65670a7 to old kernel, I found
it's hard to apply, the reason is we only provide
clockevents_calc_mult_shift() for a period of time. And going
through the latest kernel, there is still the user of that
function. So I think we still need the ->maxadj tweak in
clockevents_calc_mult_shift(), this is the aim of patch#1.

And to loose the burden of you, I convert the only user of
clockevents_calc_mult_shift()/clocksource_register() to
clocksour_register_hz() (patch#2), and then get rid of
clockevents_calc_mult_shift() (patch#3).

IMHO, patch#1 will be more conservative and safe, and patch#3
is a little aggressive. I will let you decide to pick which one ;-)

Thanks,
Yong


Cc: John Stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>

Yong Zhang (3):
  clocksource: Also tweak ->maxadj in clocksource_calc_mult_shift()
  clocksource: dbx500: convert to clocksource_register_hz()
  clocksource: get rid of clocksource_calc_mult_shift()

 drivers/clocksource/clksrc-dbx500-prcmu.c |    5 +----
 include/linux/clocksource.h               |    7 -------
 kernel/time/clocksource.c                 |    1 -
 3 files changed, 1 insertions(+), 12 deletions(-)

-- 
1.7.5.4


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-12-02 19:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01  7:20 [PATCH 0/3] Patches focus on clocksource_calc_mult_shift() Yong Zhang
2011-12-01  7:20 ` [PATCH 1/3] clocksource: Also tweak ->maxadj in clocksource_calc_mult_shift() Yong Zhang
2011-12-01 23:58   ` john stultz
2011-12-02  1:35     ` Yong Zhang
2011-12-01  7:20 ` [PATCH 2/3] clocksource: dbx500: convert to clocksource_register_hz() Yong Zhang
2011-12-01 13:03   ` Linus Walleij
2011-12-01 23:55   ` John Stultz
2011-12-02  8:29     ` Linus Walleij
2011-12-02 19:28       ` John Stultz
2011-12-01  7:20 ` [PATCH 3/3] clocksource: get rid of clocksource_calc_mult_shift() Yong Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox