Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1526237

Re: [RFC] timekeeping: Use cached readouts for monotonic and raw clocks in suspend

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [RFC] timekeeping: Use cached readouts for monotonic and raw clocks in suspend
Date 2016-11-20 14:30 +0100
Message-ID <sFAlX-323-1@gated-at.bofh.it> (permalink)
References <sFlGh-1UY-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 19 Nov 2016, Joel Fernandes wrote:

> I am planning to add boot clock as a trace clock that can account suspend time
> during tracing, however ktime_get_with_offset throws a warning as the
> clocksource is attempted to be accessed in suspend.

ktime_get_with_offset() cannot be used as trace clock at all because it can
life lock in NMI context. That's why we have ktime_get_mono_fast().

Thanks,

	tglx

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC] timekeeping: Use cached readouts for monotonic and raw clocks in suspend Joel Fernandes <joelaf@google.com> - 2016-11-19 22:50 +0100
  Re: [RFC] timekeeping: Use cached readouts for monotonic and raw  clocks in suspend Thomas Gleixner <tglx@linutronix.de> - 2016-11-20 14:30 +0100
    Re: [RFC] timekeeping: Use cached readouts for monotonic and raw  clocks in suspend joelaf <joelaf@google.com> - 2016-11-21 04:10 +0100
      Re: [RFC] timekeeping: Use cached readouts for monotonic and raw  clocks in suspend Thomas Gleixner <tglx@linutronix.de> - 2016-11-21 12:50 +0100

csiph-web