public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] lib: list_sort: Various minor improvements
@ 2014-06-24 10:06 Rasmus Villemoes
  2014-06-24 10:06 ` [PATCH v2 1/4] lib: list_sort_test(): Return -ENOMEM when allocation fails Rasmus Villemoes
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Rasmus Villemoes @ 2014-06-24 10:06 UTC (permalink / raw)
  To: Artem Bityutskiy, Don Mullis, Dave Chinner; +Cc: linux-kernel, Rasmus Villemoes

Reading the source of lib/list_sort.c, I came up with a few possible
improvements. I think 4/4 may be a bit controversial, but 1/4, 2/4 and
3/4 should be straightforward.

v2: Fix typo in 2/4, and add 3/4,4/4.

Rasmus Villemoes (4):
  lib: list_sort_test(): Return -ENOMEM when allocation fails
  lib: list_sort_test(): Add extra corruption check
  lib: list_sort_test(): Simplify and harden cleanup
  lib: list_sort.c: Limit number of unused cmp callbacks

 lib/list_sort.c | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

-- 
1.9.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-06-25 22:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24 10:06 [PATCH v2 0/4] lib: list_sort: Various minor improvements Rasmus Villemoes
2014-06-24 10:06 ` [PATCH v2 1/4] lib: list_sort_test(): Return -ENOMEM when allocation fails Rasmus Villemoes
2014-06-24 10:06 ` [PATCH v2 2/4] lib: list_sort_test(): Add extra corruption check Rasmus Villemoes
2014-06-24 10:06 ` [PATCH v2 3/4] lib: list_sort_test(): Simplify and harden cleanup Rasmus Villemoes
2014-06-24 10:06 ` [PATCH v2 4/4] lib: list_sort.c: Limit number of unused cmp callbacks Rasmus Villemoes
2014-06-25 21:53 ` [PATCH v2 0/4] lib: list_sort: Various minor improvements Andrew Morton
2014-06-25 22:28   ` Rasmus Villemoes
2014-06-25 22:32     ` Andrew Morton
2014-06-25 22:47       ` Rasmus Villemoes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox