summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2018-05-09 02:08:51 -0700
committerJens Axboe <axboe@kernel.dk>2018-05-09 08:33:06 -0600
commit84c7afcebed913c93d50f116b046b7f0d8ec0cdc (patch)
tree0c4b9bc41c6ef64b53ee51251ee3b957b2533d05 /sound
parent544ccc8dc904db55d4576c27a1eb66a888ffacea (diff)
downloadblackbird-op-linux-84c7afcebed913c93d50f116b046b7f0d8ec0cdc.tar.gz
blackbird-op-linux-84c7afcebed913c93d50f116b046b7f0d8ec0cdc.zip
block: use ktime_get_ns() instead of sched_clock() for cfq and bfq
cfq and bfq have some internal fields that use sched_clock() which can trivially use ktime_get_ns() instead. Their timestamp fields in struct request can also use ktime_get_ns(), which resolves the 8 year old comment added by commit 28f4197e5d47 ("block: disable preemption before using sched_clock()"). Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud