From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with SMTP id 728849000C2 for ; Thu, 7 Jul 2011 14:17:53 -0400 (EDT) Date: Thu, 7 Jul 2011 13:17:49 -0500 (CDT) From: Christoph Lameter Subject: Re: [PATCH] slub: reduce overhead of slub_debug In-Reply-To: Message-ID: References: <20110626193918.GA3339@joi.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Pekka Enberg Cc: Marcin Slusarz , Matt Mackall , LKML , rientjes@google.com, linux-mm@kvack.org 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. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org