From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762466AbYEWAEo (ORCPT ); Thu, 22 May 2008 20:04:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759144AbYEWAEf (ORCPT ); Thu, 22 May 2008 20:04:35 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:42303 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754400AbYEWAEe (ORCPT ); Thu, 22 May 2008 20:04:34 -0400 Date: Thu, 22 May 2008 17:04:34 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Paul Mundt cc: Pekka J Enberg , dhowells@redhat.com, mpm@selenic.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB In-Reply-To: <20080522235032.GA22697@linux-sh.org> Message-ID: References: <20080522234036.GA18434@linux-sh.org> <20080522235032.GA22697@linux-sh.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 May 2008, Paul Mundt wrote: > Ah, so it does. In that case, we still need to kill off the page->index > BUG_ON() bits, while PageCompound() will take care of the compound order > bits that the page->index shifting seems to have been trying to > implement, the BUG_ON() will still trigger for PAGE_SIZE page cache > pages. Yes. I have no idea what the page->index check does there. The compound page order is not stored in the index field.