Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752666AbcKGWte (ORCPT ); Mon, 7 Nov 2016 17:49:34 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:43796 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751611AbcKGWtc (ORCPT ); Mon, 7 Nov 2016 17:49:32 -0500 Date: Mon, 7 Nov 2016 14:49:31 -0800 From: Andrew Morton To: Thomas Garnier Cc: Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Linux-MM , LKML , Greg Thelen , Vladimir Davydov , Michal Hocko Subject: Re: [PATCH v3 1/2] memcg: Prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLAB Message-Id: <20161107144931.edcf151a04f1af6d230b8a8a@linux-foundation.org> In-Reply-To: References: <1478553075-120242-1-git-send-email-thgarnie@google.com> <20161107141919.fe50cef419918c7a4660f3c2@linux-foundation.org> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1309 Lines: 29 On Mon, 7 Nov 2016 14:32:56 -0800 Thomas Garnier wrote: > On Mon, Nov 7, 2016 at 2:19 PM, Andrew Morton wrote: > > On Mon, 7 Nov 2016 13:11:14 -0800 Thomas Garnier wrote: > > > >> From: Greg Thelen > >> > >> While testing OBJFREELIST_SLAB integration with pagealloc, we found a > >> bug where kmem_cache(sys) would be created with both CFLGS_OFF_SLAB & > >> CFLGS_OBJFREELIST_SLAB. > >> > >> The original kmem_cache is created early making OFF_SLAB not possible. > >> When kmem_cache(sys) is created, OFF_SLAB is possible and if pagealloc > >> is enabled it will try to enable it first under certain conditions. > >> Given kmem_cache(sys) reuses the original flag, you can have both flags > >> at the same time resulting in allocation failures and odd behaviors. > > > > Can we please have a better description of the problems which this bug > > causes? Without this info it's unclear to me which kernel version(s) > > need the fix. > > > > Given that the bug is 6 months old I'm assuming "not very urgent". > > > > I will add more details and send another round. Please simply send the additional changelog text in this thread - processing an entire v4 patch just for a changelog fiddle is rather heavyweight.