From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757043AbYJVSu2 (ORCPT ); Wed, 22 Oct 2008 14:50:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753149AbYJVSuS (ORCPT ); Wed, 22 Oct 2008 14:50:18 -0400 Received: from nlpi025.sbcis.sbc.com ([207.115.36.54]:46270 "EHLO nlpi025.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752154AbYJVSuR (ORCPT ); Wed, 22 Oct 2008 14:50:17 -0400 Date: Wed, 22 Oct 2008 11:49:56 -0700 (PDT) From: Christoph Lameter X-X-Sender: cl@quilx.com To: Cyrill Gorcunov cc: Pekka Enberg , LKML Subject: Re: [RFC] SLUB - define OO_ macro instead of hardcoded numbers In-Reply-To: <20081022184212.GA4218@localhost> Message-ID: References: <20081022163530.GH9639@localhost> <20081022165354.GI9639@localhost> <20081022172103.GJ9639@localhost> <48FF6800.20705@cs.helsinki.fi> <20081022175827.GL9639@localhost> <20081022181556.GM9639@localhost> <20081022184212.GA4218@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -2.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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