Messages in this thread | | | Date | Thu, 7 Jul 2011 13:17:49 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [PATCH] slub: reduce overhead of slub_debug |
| |
On Thu, 7 Jul 2011, Pekka Enberg wrote:
> Looks good to me. Christoph, David, ?
The reason debug code is there is because it is useless overhead typically not needed. There is no point in optimizing the code that is not run in production environments unless there are gross performance issues that make debugging difficult. A performance patch for debugging would have to cause significant performance improvements. This patch does not do that nor was there such an issue to be addressed in the first place.
| |