Re: [PATCH] slub: reduce total stack usage of slab_err & object_err

From: Matt Mackall
Date: Tue Sep 30 2008 - 11:52:32 EST



On Tue, 2008-09-30 at 10:38 -0500, Christoph Lameter wrote:
> Richard Kennedy wrote:
> > reduce the total stack usage of slab_err & object_err.
> >
> > Introduce a new function to display a simple slab bug message, and call
> > this when vprintk is not needed.
>
> You could simply get rid of the 100 byte buffer by using vprintk? Same method
> could be used elsewhere in the kernel and does not require additional
> functions. Compiles, untestted.

I'm fixing a bunch of these in the kernel right now.

--
Mathematics is the supreme nostalgia of our time.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/