06 Mar, 2020
1 commit
-
Supports push, pop and converting an array into a heap. If the sense of
the compare function is inverted then it can provide a max-heap.Based-on-work-by: Peter Zijlstra (Intel)
Signed-off-by: Ian Rogers
Signed-off-by: Peter Zijlstra (Intel)
Signed-off-by: Ingo Molnar
Link: https://lkml.kernel.org/r/20200214075133.181299-3-irogers@google.com