Re: [Patch] swapfile.c

2001-06-20 Thread Nathan D. Fabian
On Tuesday 19 June 2001 06:24 pm, Nathan D. Fabian wrote: > 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 > interest

[Patch] swapfile.c

2001-06-19 Thread Nathan D. Fabian
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. Nat