[PATCH V3] sort: Introduce generic list_sort function

Andi Kleen andi at firstfloor.org
Tue Jan 5 06:52:35 CST 2010


> > Also it would seem cleaner to have it in a own file.
> 
> That might make sense if we had a large number of generic sort
> functions and it was difficult to tell the code apart, but we've
> only got 2 right now....

I was more thinking of the case that it can be easily made a lib-y
and then eliminated by the linker on non modular kernels if not needed
(unfortunately that would require putting the EXPORT_SYMBOL somewhere else)

-Andi




More information about the xfs mailing list