6b2dbba8b6
Implement an interval tree as a replacement for the VMA prio_tree. The algorithms are similar to lib/interval_tree.c; however that code can't be directly reused as the interval endpoints are not explicitly stored in the VMA. So instead, the common algorithm is moved into a template and the details (node type, how to get interval endpoints from the node, etc) are filled in using the C preprocessor. Once the interval tree functions are available, using them as a replacement to the VMA prio tree is a relatively simple, mechanical job. Signed-off-by: Michel Lespinasse <walken@google.com> Cc: Rik van Riel <riel@redhat.com> Cc: Hillf Danton <dhillf@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
.gitignore | ||
asm-offsets.c | ||
binfmt_elf32.c | ||
cache.c | ||
drivers.c | ||
entry.S | ||
firmware.c | ||
ftrace.c | ||
hardware.c | ||
head.S | ||
hpmc.S | ||
inventory.c | ||
irq.c | ||
Makefile | ||
module.c | ||
pa7300lc.c | ||
pacache.S | ||
parisc_ksyms.c | ||
pci-dma.c | ||
pci.c | ||
pdc_chassis.c | ||
pdc_cons.c | ||
perf_asm.S | ||
perf_images.h | ||
perf.c | ||
process.c | ||
processor.c | ||
ptrace.c | ||
real2.S | ||
setup.c | ||
signal32.c | ||
signal32.h | ||
signal.c | ||
smp.c | ||
stacktrace.c | ||
sys32.h | ||
sys_parisc32.c | ||
sys_parisc.c | ||
syscall_table.S | ||
syscall.S | ||
time.c | ||
topology.c | ||
traps.c | ||
unaligned.c | ||
unwind.c | ||
vmlinux.lds.S |