[PATCH] get_order() centralization

From: Jakub Jelinek (jakub@redhat.com)
Date: Mon Feb 14 2000 - 11:05:58 EST


Hi!

Since my last patch related to this, a couple more get_order implementations
appeared in the kernel source (currently there are 22 of them) and IMHO
it really makes sense to provide get_order(size) from asm headers, so that
the code is more readable and architectures (like ia64) are able to optimize
get_order() as they wish (including choosing to implement it out-of-line).
I removed the bsrl implementation for Intel since the last patch because it
really seems it is slower than a simple loop.

Please apply.

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.45 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________



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



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:27 EST