Re: [Patch] swapfile.c

From: Nathan D. Fabian (ndfabia@sandia.gov)
Date: Wed Jun 20 2001 - 10:16:10 EST


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
> interested in the innefficiency in that code. Test with caution.

I suppose I should mention that this is against a vanilla 2.4.5 kernel, but
should patches cleanly against 2.4.5-ac16.

-
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:27 EST