Skip to content

lib/sort: Add generic sort to lib/

Matt Mackall lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lib/sort: Heapsort implementation of sort()include/linux/sort.h lib/Makefile lib/sort.c+130 -121 replies
2/8lib/sort: Replace qsort in XFSfs/xfs/Kconfig fs/xfs/linux-2.6/xfs_linux.h+9 -10 replies
3/8lib/sort: Replace qsort in NFS ACL codefs/Kconfig fs/nfsacl.c+6 -60 replies
4/8lib/sort: Kill qsort()lib/Kconfig lib/Makefile lib/qsort.c+0 -2530 replies
5/8lib/sort: Replace open-coded O(pids**2) bubblesort in cpusetskernel/cpuset.c+4 -151 reply
6/8lib/sort: Replace insertion sort in exception tableslib/extable.c+9 -175 replies
7/8lib/sort: Replace insertion sort in IA64 exception tablesarch/ia64/mm/extable.c+18 -260 replies
8/8lib/sort: Use generic sort on x86_64arch/x86_64/mm/extable.c include/asm-x86_64/uaccess.h+1 -230 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchPaul Jackson
1/8
2/8
3/8
4/8
5/8A-b
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] lib/sort: Add generic sort to lib/

This patch series introduces a generic heapsort function, sort(), in lib/. It also replaces the uses of the recently introduced qsort() code from glibc and then removes that code. A few other open-coded sort routines are updated as well. I plan to clean up some other effervescent sort routines in the near future.