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

From: David S. Miller (davem@redhat.com)
Date: Fri Oct 05 2001 - 18:44:41 EST


   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/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:40 EST