Acked-by: Christoph Lameter <[email protected]>

On Mon, 27 Jul 2009, David Rientjes wrote:
> @@ -2488,6 +2474,18 @@ static int kmem_cache_open(struct kmem_cache *s, gfp_t 
> gfpflags,
>
>       if (!calculate_sizes(s, -1))
>               goto error;
> +     if (disable_higher_order_debug) {
> +             /*
> +              * Disable debugging flags that store metadata if the min slab
> +              * order increased.
> +              */
> +             if (get_order(s->size) > get_order(s->objsize)) {
> +                     s->flags &= ~DEBUG_METADATA_FLAGS;

> +                     s->offset = 0;

Hmmm... Move this line into calculate_sizes()?

--
To unsubscribe from this list: send the line "unsubscribe kernel-testers" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to