[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090617092350.7a391ad5@skybase>
Date: Wed, 17 Jun 2009 09:23:50 +0200
From: Martin Schwidefsky <schwidefsky@...ibm.com>
To: Pekka J Enberg <penberg@...helsinki.fi>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-s390@...r.kernel.org, heiko.carstens@...ibm.com
Subject: Re: [PATCH] s390: remove DEBUG_MALLOC
On Wed, 17 Jun 2009 09:42:38 +0300 (EEST)
Pekka J Enberg <penberg@...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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists