Re: [RFC] SLUB - define OO_ macro instead of hardcoded numbers

From: Christoph Lameter
Date: Wed Oct 22 2008 - 14:50:29 EST


On Wed, 22 Oct 2008, Cyrill Gorcunov wrote:

I think the patch becomes more complicated as it should be.
Maybe just use:

#define MAX_OBJ_PER_PAGE 65535 /* since page.objects is u16 */

Ok.

Acked-by: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx>

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