Messages in this thread | | | Date | Wed, 17 Jun 2009 09:23:50 +0200 | From | Martin Schwidefsky <> | Subject | Re: [PATCH] s390: remove DEBUG_MALLOC |
| |
On Wed, 17 Jun 2009 09:42:38 +0300 (EEST) Pekka J Enberg <penberg@cs.helsinki.fi> wrote:
> The kernel now has kmemleak and kmemtrace so there's no reason to keep > this ugly s390 hack around. I am not sure how it's supposed to work on > SMP anyway as it uses a global variable to temporarily store the return > value of all kmalloc() calls: > > void *b; > > #define kmalloc(x...) (PRINT_INFO(" kmalloc %p\n",b=kmalloc(x)),b)
Ouch! Yes, we better remove this quickly before anybody else sees it. I'll add it to git390.
-- blue skies, Martin.
"Reality continues to ruin my life." - Calvin.
| |