diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-08-27 21:31:02 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-08-28 11:50:43 +0200 |
commit | 60bda037f1dd8151e0c9ee5b09f0c091a0f643cd (patch) | |
tree | ac8ed446c0ae7fcdf72285d5ca99531a3f96560b /include/drm/drm_debugfs_crc.h | |
parent | 244d49e30653658d4e7e9b2b8427777cbbc5affe (diff) |
posix-cpu-timers: Utilize timerqueue for storage
Using a linear O(N) search for timer insertion affects execution time and
D-cache footprint badly with a larger number of timers.
Switch the storage to a timerqueue which is already used for hrtimers and
alarmtimers. It does not affect the size of struct k_itimer as it.alarm is
still larger.
The extra list head for the expiry list will go away later once the expiry
is moved into task work context.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r/alpine.DEB.2.21.1908272129220.1939@nanos.tec.linutronix.de
Diffstat (limited to 'include/drm/drm_debugfs_crc.h')
0 files changed, 0 insertions, 0 deletions