[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0810221110060.27088@quilx.com>
Date: Wed, 22 Oct 2008 11:10:56 -0700 (PDT)
From: Christoph Lameter <cl@...ux-foundation.org>
To: Cyrill Gorcunov <gorcunov@...il.com>
cc: Pekka Enberg <penberg@...helsinki.fi>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [RFC] SLUB - define OO_ macro instead of hardcoded numbers
On Wed, 22 Oct 2008, Cyrill Gorcunov wrote:
> +#define OO_SHIFT 16
> +#define OO_MASK ((1 << OO_SHIFT) - 1)
> +#define MAX_OBJS_PER_PAGE 65535 /* see struct page.objects */
This is == OO_MASK right? Otherwise things will break when we change
OO_SHIFT.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists