[Patch] swapfile.c

From: Nathan D. Fabian (ndfabia@sandia.gov)
Date: Tue Jun 19 2001 - 19:24:25 EST


The following diff tries to improve on the efficiency of try_to_unuse(). It
removes the potential O(|swap_map|^2) business and makes it linear time.
I'm not sure what this means in terms of overall change, but Linus seemed
interested in the innefficiency in that code. Test with caution.

Nathan.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 23 2001 - 21:00:26 EST