-
由 Ian Rogers 提交于
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: NPeter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: NIan Rogers <irogers@google.com> Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: NIngo Molnar <mingo@kernel.org> Link: https://lkml.kernel.org/r/20200214075133.181299-3-irogers@google.com
6e24628d