Re: [RFC][PATCH]Small Minor optimization to kmem_cache_estimate

David S. Miller (davem@redhat.com)
Fri, 05 Oct 2001 16:44:41 -0700 (PDT)


From: "BALBIR SINGH" <balbir.singh@wipro.com>
Date: Fri, 05 Oct 2001 17:04:21 +0530

I verified the number of objects per slab is the same in both cases.
This patch may not improve the performance of your CPU by a great amount,
but when there is a faster way to do things, why live with the slower one.

Since this code only occurs during SLAB creation, you estimation on
CPU savings is correct.

Why live with it? Less changes to verify would be one reason :-)

Franks a lot,
David S. Miller
davem@redhat.com
-
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/