Re: [Patch] swapfile.c

Nathan D. Fabian (ndfabia@sandia.gov)
Wed, 20 Jun 2001 09:16:10 -0600


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/