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


Groups > linux.kernel > #1384106

Re: [PATCH v2] drm/msm: Use 64-bit timekeeping

From Tina Ruchandani <ruchandani.tina@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] drm/msm: Use 64-bit timekeeping
Date 2016-04-21 13:40 +0200
Message-ID <rql7I-8rt-29@gated-at.bofh.it> (permalink)
References <rnrMm-116-27@gated-at.bofh.it> <roI8q-38N-5@gated-at.bofh.it> <rql7I-8rt-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>> which only does one 64-bit division, and it's one that we can probably
>> optimize out in the future (we can check in ktime_ms_delta whether the
>> difference is more than 2^32 nanoseconds as the fast path).

It looks like ktime_divns already has that optimization for 32-bit divisor,
so your solution should avoid the 64-bit division.

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


Thread

Re: [PATCH v2] drm/msm: Use 64-bit timekeeping Arnd Bergmann <arnd@arndb.de> - 2016-04-17 01:50 +0200
  Re: [PATCH v2] drm/msm: Use 64-bit timekeeping Tina Ruchandani <ruchandani.tina@gmail.com> - 2016-04-21 13:40 +0200
    Re: [PATCH v2] drm/msm: Use 64-bit timekeeping Arnd Bergmann <arnd@arndb.de> - 2016-04-21 14:30 +0200
  Re: [PATCH v2] drm/msm: Use 64-bit timekeeping Tina Ruchandani <ruchandani.tina@gmail.com> - 2016-04-21 13:40 +0200

csiph-web