Re: [PATCH 0/5] lib/sort & lib/list_sort: faster and smaller

2019-03-15 Thread Andrey Abramov
I am pleased with this patch. Yes there is still a couple of controversial issues but in my opinion, it is mostly "matter of taste", and whatever solutions could be made, the patch is great. So you may add me to the "Acked-by" section. (And I mean the whole patch from 1 to 5) With Best Regards,

[PATCH 0/5] lib/sort & lib/list_sort: faster and smaller

2019-03-08 Thread George Spelvin
Because CONFIG_RETPOLINE has made indirect calls much more expensive, I thought I'd try to reduce the number made by the library sort functions. The first three patches apply to lib/sort.c. Patch #1 is a simple optimization. The built-in swap has rarely-used special cases for aligned 4- and