Skip to content

Commit 147e615

Browse files
walken-googletorvalds
authored andcommitted
prio_tree: remove
After both prio_tree users have been converted to use red-black trees, there is no need to keep around the prio tree library anymore. Signed-off-by: Michel Lespinasse <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Hillf Danton <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: David Woodhouse <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 85d3a31 commit 147e615

File tree

8 files changed

+1
-800
lines changed

8 files changed

+1
-800
lines changed

Documentation/00-INDEX

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,6 @@ preempt-locking.txt
270270
- info on locking under a preemptive kernel.
271271
printk-formats.txt
272272
- how to get printk format specifiers right
273-
prio_tree.txt
274-
- info on radix-priority-search-tree use for indexing vmas.
275273
ramoops.txt
276274
- documentation of the ramoops oops/panic logging module.
277275
rbtree.txt

Documentation/prio_tree.txt

Lines changed: 0 additions & 107 deletions
This file was deleted.

include/linux/prio_tree.h

Lines changed: 0 additions & 120 deletions
This file was deleted.

init/main.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ extern void init_IRQ(void);
8686
extern void fork_init(unsigned long);
8787
extern void mca_init(void);
8888
extern void sbus_init(void);
89-
extern void prio_tree_init(void);
9089
extern void radix_tree_init(void);
9190
#ifndef CONFIG_DEBUG_RODATA
9291
static inline void mark_rodata_ro(void) { }
@@ -547,7 +546,6 @@ asmlinkage void __init start_kernel(void)
547546
/* init some links before init_ISA_irqs() */
548547
early_irq_init();
549548
init_IRQ();
550-
prio_tree_init();
551549
init_timers();
552550
hrtimers_init();
553551
softirq_init();

lib/Kconfig.debug

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,12 +1289,6 @@ config RBTREE_TEST
12891289
A benchmark measuring the performance of the rbtree library.
12901290
Also includes rbtree invariant checks.
12911291

1292-
config PRIO_TREE_TEST
1293-
tristate "Prio tree test"
1294-
depends on m && DEBUG_KERNEL
1295-
help
1296-
A benchmark measuring the performance of the prio tree library
1297-
12981292
config INTERVAL_TREE_TEST
12991293
tristate "Interval tree test"
13001294
depends on m && DEBUG_KERNEL

lib/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ endif
99

1010
lib-y := ctype.o string.o vsprintf.o cmdline.o \
1111
rbtree.o radix-tree.o dump_stack.o timerqueue.o\
12-
idr.o int_sqrt.o extable.o prio_tree.o \
12+
idr.o int_sqrt.o extable.o \
1313
sha1.o md5.o irq_regs.o reciprocal_div.o argv_split.o \
1414
proportions.o flex_proportions.o prio_heap.o ratelimit.o show_mem.o \
1515
is_single_threaded.o plist.o decompress.o
@@ -141,7 +141,6 @@ $(foreach file, $(libfdt_files), \
141141
lib-$(CONFIG_LIBFDT) += $(libfdt_files)
142142

143143
obj-$(CONFIG_RBTREE_TEST) += rbtree_test.o
144-
obj-$(CONFIG_PRIO_TREE_TEST) += prio_tree_test.o
145144
obj-$(CONFIG_INTERVAL_TREE_TEST) += interval_tree_test.o
146145

147146
interval_tree_test-objs := interval_tree_test_main.o interval_tree.o

0 commit comments

Comments
 (0)