lkml.org 
[lkml]   [2006]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.6.16-rc1-mm1 - produce useful info for kzalloc with DEBUG_SLAB
Hi Valdis,

On 1/19/06, Valdis.Kletnieks@vt.edu <Valdis.Kletnieks@vt.edu> wrote:
> The following patch makes a few minor changes so the CONFIG_DEBUG_SLAB
> statistics report the actual caller for kzalloc() - otherwise its call to
> kmalloc() just points at kzalloc(). Basically, we force __always_inline on
> several routines, so the __builtin_return_address calls point where we
> want them to point, even if gcc wouldn't otherwise do it.

Couldn't we use this [1] trick Steven came up with for this?

1. http://article.gmane.org/gmane.linux.kernel/362494

Pekka
-
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/

\
 
 \ /
  Last update: 2006-01-19 10:00    [W:0.056 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site