From: johlstei@codeaurora.org (Jeff Ohlstein)
To: linux-arm-kernel@lists.infradead.org
Subject: Architecture specific implementations for tickless kernel and deferrable timers
Date: Thu, 21 Apr 2011 20:13:13 -0700 [thread overview]
Message-ID: <4DB0F249.6000307@codeaurora.org> (raw)
In-Reply-To: <BANLkTi=q8-1ybXNky04A6WA7+VA5ZgOB-g@mail.gmail.com>
Vikram Narayanan wrote:
> And also, are clocksoure and clockevents dependent on each other? I
> see in some platforms, that they have used 2 different timers for the
> above. Can a same clock be used for both clocksource and clockevents?
> Please throw some light on this. If it can be used so, what ties up
> the clocksource and clockevent?
You can look at msm for an example of a single timer being used both as
a clocksource and a clockevent. We end up shutting off the clocksource
whenever we shut down the clockevent. This does cause some issues.
Switching clocksources at runtime does not work. It will also cause
problems if you implement your own sched_clock function, as it will have
little choice but to return a stale cached value whenever the clockevent
is disabled, such as in the suspend path.
Jeff
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
next prev parent reply other threads:[~2011-04-22 3:13 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-20 18:15 Architecture specific implementations for tickless kernel and deferrable timers Vikram Narayanan
2011-04-22 3:13 ` Jeff Ohlstein [this message]
2011-04-24 14:20 ` Vikram Narayanan
2011-04-26 20:37 ` Russell King - ARM Linux
2011-04-27 3:30 ` Vikram Narayanan
2011-04-27 7:25 ` Russell King - ARM Linux
2011-04-27 8:17 ` Thomas Gleixner
2011-04-28 13:31 ` Vikram Narayanan
2011-04-28 13:38 ` Russell King - ARM Linux
2011-04-28 13:54 ` Vikram Narayanan
2011-04-28 14:28 ` Russell King - ARM Linux
2011-04-28 17:29 ` Vikram Narayanan
2011-04-28 18:24 ` Russell King - ARM Linux
2011-04-29 14:26 ` Vikram Narayanan
2011-04-29 14:34 ` Russell King - ARM Linux
2011-04-29 15:07 ` Vikram Narayanan
2011-04-29 17:05 ` Thomas Gleixner
2011-04-29 17:05 ` Thomas Gleixner
2011-04-29 17:57 ` john stultz
2011-05-03 2:17 ` Vikram Narayanan
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=4DB0F249.6000307@codeaurora.org \
--to=johlstei@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).