From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wdx0H24CwzDqGr for ; Fri, 2 Jun 2017 04:37:19 +1000 (AEST) Received: by mail-pf0-x230.google.com with SMTP id m17so34484145pfg.3 for ; Thu, 01 Jun 2017 11:37:18 -0700 (PDT) Date: Thu, 1 Jun 2017 11:37:07 -0700 (PDT) From: Hugh Dickins To: Christoph Lameter cc: Hugh Dickins , Michael Ellerman , "Aneesh Kumar K.V" , linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org Subject: Re: 4.12-rc ppc64 4k-page needs costly allocations In-Reply-To: Message-ID: References: <87h9014j7t.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 1 Jun 2017, Christoph Lameter wrote: > > Ok so debugging was off but the slab cache has a ctor callback which > mandates that the free pointer cannot use the free object space when > the object is not in use. Thus the size of the object must be increased to > accomodate the freepointer. Thanks a lot for working that out. Makes sense, fully understood now, nothing to worry about (though makes one wonder whether it's efficient to use ctors on high-alignment caches; or whether an internal "zero-me" ctor would be useful). Hugh