Skip to content

Commit

Permalink
lib: remove prio_heap
Browse files Browse the repository at this point in the history
The prio_heap code is unused since commit 889ed9c ("cgroup: remove
css_scan_tasks()").  It should be compiled out to shrink the binary
kernel size which can be done via introducing CONFIG_PRIO_HEAD or by
removing the code.

We can simply recover the code from git when needed, so it would be
better to remove it IMO.

Signed-off-by: Lai Jiangshan <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Francesco Fusco <[email protected]>
Cc: Greg Thelen <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: George Spelvin <[email protected]>
Cc: Mark Salter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Lai Jiangshan authored and torvalds committed Oct 14, 2014
1 parent fec2290 commit 6de8ab6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 129 deletions.
58 changes: 0 additions & 58 deletions include/linux/prio_heap.h

This file was deleted.

2 changes: 1 addition & 1 deletion lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \
rbtree.o radix-tree.o dump_stack.o timerqueue.o\
idr.o int_sqrt.o extable.o \
sha1.o md5.o irq_regs.o reciprocal_div.o argv_split.o \
proportions.o flex_proportions.o prio_heap.o ratelimit.o show_mem.o \
proportions.o flex_proportions.o ratelimit.o show_mem.o \
is_single_threaded.o plist.o decompress.o kobject_uevent.o \
earlycpio.o

Expand Down
70 changes: 0 additions & 70 deletions lib/prio_heap.c

This file was deleted.

0 comments on commit 6de8ab6

Please sign in to comment.