Re: [PATCH] [6/13] Core maskable allocator

From: Andi Kleen
Date: Fri Mar 07 2008 - 18:27:34 EST


> Andi, I'm a little confused by _this_ statistics. We could get p = NULL
> there and change MASK_HIGH_WASTE even have mask not allocated. Am I
> wrong or miss something? Or maybe there should be '&&' instead of '||'?

You're right the statistics counter is increased incorrectly for the
p == NULL case. I'll fix that thanks. || is correct, see the comment
above.

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