Re: [PATCH 1/2] lib: more scalable list_sort()

From: Andi Kleen
Date: Thu Jan 21 2010 - 12:59:24 EST

On Wed, Jan 20, 2010 at 08:51:26PM -0800, Don Mullis wrote:
> The use of list_sort() by UBIFS looks like it could generate long
> lists; this alternative implementation scales better, reaching ~3x
> performance gain as list length approaches the L2 cache size.

If this can really be called with long lists
the function likely needs (optional) need_resched()s
Otherwise it could ruin scheduling latencies.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at