From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f197.google.com (mail-wr0-f197.google.com [209.85.128.197]) by kanga.kvack.org (Postfix) with ESMTP id 9B50A6B0003 for ; Thu, 19 Apr 2018 07:31:39 -0400 (EDT) Received: by mail-wr0-f197.google.com with SMTP id u56-v6so4706603wrf.18 for ; Thu, 19 Apr 2018 04:31:39 -0700 (PDT) Received: from mx2.suse.de (mx2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id e12si2214103edm.403.2018.04.19.04.31.38 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 19 Apr 2018 04:31:38 -0700 (PDT) Subject: Re: [PATCH v3 05/14] mm: Move 'private' union within struct page References: <20180418184912.2851-1-willy@infradead.org> <20180418184912.2851-6-willy@infradead.org> From: Vlastimil Babka Message-ID: Date: Thu, 19 Apr 2018 13:31:35 +0200 MIME-Version: 1.0 In-Reply-To: <20180418184912.2851-6-willy@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Matthew Wilcox , linux-mm@kvack.org Cc: Matthew Wilcox , Andrew Morton , "Kirill A . Shutemov" , Christoph Lameter , Lai Jiangshan , Pekka Enberg On 04/18/2018 08:49 PM, Matthew Wilcox wrote: > From: Matthew Wilcox > > By moving page->private to the fourth word of struct page, we can put > the SLUB counters in the same word as SLAB's s_mem and still do the > cmpxchg_double trick. Now the SLUB counters no longer overlap with > the refcount. > > Signed-off-by: Matthew Wilcox Acked-by: Vlastimil Babka