Re: [PATCH 2/2] SLUB: Disable debugging if it increases the minimumpage order

From: Christoph Lameter
Date: Thu Jun 11 2009 - 11:21:11 EST


On Thu, 11 Jun 2009, Pekka Enberg wrote:

> I think my patch is the simplest solution here: it turns off debugging
> for those caches where the metadata bumps up the minimum allocation
> order and I suspect that we disable cache only for 4096 in practice.

There could be other slab caches that would randomly be affected by this.
I ran a couple of times into situations where I had to hack slab to do
debugging of exempted slabs.

> Also note that when we switch back to more aggressive page allocator
> pass-through, we lose SLUB debugging support.

Debugging options can have side effects. Slab debugging is not something
suitable by default for production environments.

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