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


Groups > linux.kernel > #1428075

Re: [PATCH] crypto: Jitter RNG - use ktime_get_raw_ns as fallback

From Stephan Mueller <smueller@chronox.de>
Newsgroups linux.kernel
Subject Re: [PATCH] crypto: Jitter RNG - use ktime_get_raw_ns as fallback
Date 2016-06-21 21:00 +0200
Message-ID <rMz42-172-5@gated-at.bofh.it> (permalink)
References <rMyhA-Qq-33@gated-at.bofh.it> <rMyrg-TU-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am Dienstag, 21. Juni 2016, 11:11:42 schrieb John Stultz:

Hi John,

> I don't see in the above an explanation of *why* you're using
> ktime_get_raw_ns() instead of ktime_get_ns().

Could you help me understand what the difference is or point me to some 
documentation? I understood that we only talked about the _raw variant.
> 
> Also the bit about time running backwards being ok is confusing since
> you're not using the "fast" accessor where that would be a risk.

Ok, if the running backwards hint is only applicable to the _fast variants, I 
can certainly drop it.

Thanks
Stephan

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


Thread

[PATCH] crypto: Jitter RNG - use ktime_get_raw_ns as fallback Stephan Mueller <smueller@chronox.de> - 2016-06-21 20:10 +0200
  Re: [PATCH] crypto: Jitter RNG - use ktime_get_raw_ns as fallback John Stultz <john.stultz@linaro.org> - 2016-06-21 20:20 +0200
    Re: [PATCH] crypto: Jitter RNG - use ktime_get_raw_ns as fallback Stephan Mueller <smueller@chronox.de> - 2016-06-21 21:00 +0200
      Re: [PATCH] crypto: Jitter RNG - use ktime_get_raw_ns as fallback John Stultz <john.stultz@linaro.org> - 2016-06-21 21:20 +0200
        Re: [Y2038] [PATCH] crypto: Jitter RNG - use ktime_get_raw_ns as fallback Arnd Bergmann <arnd@arndb.de> - 2016-06-21 21:40 +0200
          Re: [Y2038] [PATCH] crypto: Jitter RNG - use ktime_get_raw_ns as fallback John Stultz <john.stultz@linaro.org> - 2016-06-21 21:40 +0200

csiph-web