Re: SCHED_DEADLINE cpudeadline.{h,c} fixup
From: Tommaso Cucinotta
Date: Tue May 17 2016 - 18:43:24 EST
This is a multi-part message in MIME format.
On 17/05/2016 13:46, luca abeni wrote:
Maybe the ... change can be split in a separate
patch, which is a bugfix (and IMHO uncontroversial)?
Ok, the bugfix alone might look like the attached. Couldn't avoid
the little refactoring of the multiple occurrences of the same loop
up the heap into the heapify_up(), mirroring the heapify() that was
already there (renamed heapify_down() for clarity).
I'll rebase the speed-up patch on top of this, if it's a better approach.
Anyone with further comments?
Thanks again!
T.
--
Tommaso Cucinotta, Computer Engineering PhD
Associate Professor at the Real-Time Systems Laboratory (ReTiS)
Scuola Superiore Sant'Anna, Pisa, Italy
http://retis.sssup.it/people/tommaso