Messages in this thread | | | From | Thomas Gleixner <> | Subject | Re: [PATCH] timer: Preserve higher bits of expiration on index calculation | Date | Thu, 16 Jul 2020 16:24:19 +0200 |
| |
Frederic Weisbecker <frederic@kernel.org> writes: > Subject: [PATCH] timer: Preserve higher bits of expiration on index > calculation > > The higher bits of the timer expiration are cropped while calling > calc_index() due to the implicit cast from unsigned long to unsigned int. > > This loss shouldn't have consequences on the current code since all the > computation to calculate the index is done on the lower 32 bits. > > However we are preparing to return the actual bucket expiration from > calc_index() in order to properly fix base->next_expiry updates. > Preserving the higher bits is a requirement to achieve that.
Nice catch!
| |