From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH 4/5] kmemtrace: SLUB hooks. References: <1218388447-5578-1-git-send-email-eduard.munteanu@linux360.ro> <1218388447-5578-2-git-send-email-eduard.munteanu@linux360.ro> <1218388447-5578-3-git-send-email-eduard.munteanu@linux360.ro> <1218388447-5578-4-git-send-email-eduard.munteanu@linux360.ro> <1218388447-5578-5-git-send-email-eduard.munteanu@linux360.ro> <48A046F5.2000505@linux-foundation.org> <1218463774.7813.291.camel@penberg-laptop> <48A048FD.30909@linux-foundation.org> <48A04EC2.1080302@linux-foundation.org> From: fche@redhat.com (Frank Ch. Eigler) Date: Mon, 11 Aug 2008 11:34:09 -0400 In-Reply-To: <48A04EC2.1080302@linux-foundation.org> (Christoph Lameter's message of "Mon, 11 Aug 2008 09:37:54 -0500") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Steven Rostedt , Pekka Enberg , Eduard - Gabriel Munteanu , mathieu.desnoyers@polymtl.ca, linux-mm@kvack.org, linux-kernel@vger.kernel.org, rdunlap@xenotime.net, mpm@selenic.com, tglx@linutronix.de List-ID: Christoph Lameter writes: > [...] >> There should be no extra function calls when this is configured on but >> tracing disabled. We try very hard to keep the speed of the tracer as >> close to a non tracing kernel as possible when tracing is disabled. > > Makes sense. But then we have even more code bloat because of the > tests that are inserted in all call sites of kmalloc. Are you talking about the tests that implement checking whether a marker is active or not? Those checks are already efficient, and will get more so with the "immediate values" optimization in or near the tree. - FChE -- 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/ . Don't email: email@kvack.org