diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2015-11-26 12:20:38 (GMT) |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-12-16 08:44:23 (GMT) |
commit | 08e4b44852626f3549c8bd45308431d9c9e0ee6d (patch) | |
tree | 199a125a955ce755018af169f9d1096d77d3b76d /drivers/power/max17042_battery.c | |
parent | 520ddad4e560423a320bc1861792da19b0b879f9 (diff) | |
download | linux-08e4b44852626f3549c8bd45308431d9c9e0ee6d.tar.xz |
clockevents/drivers/arm_global_timer: Use writel_relaxed in gt_compare_set
Use the relaxed version to improve performance. we measured time of
4096 rounds of gt_compare_set() spent on Marvell BG2Q:
before the patch: 3690648ns on average
after the patch: 1083023ns on average
improved by 70%!
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/power/max17042_battery.c')
0 files changed, 0 insertions, 0 deletions