Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp352338ybg; Tue, 28 Jul 2020 07:40:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxz30kyWXTPTUmJRvZYnA29IKMyv1tZzArfE0xaShUfPQzFL8+ZAuYjZvSCeQLIqtzyUT8v X-Received: by 2002:a17:906:284e:: with SMTP id s14mr26201389ejc.498.1595947214459; Tue, 28 Jul 2020 07:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595947214; cv=none; d=google.com; s=arc-20160816; b=yNgB23icZaEK1MH69T8gRgle1I9KK4ySpq92X4dsFTQyp/j9mP4DKMCHbZEAZ9830g A+YGelUIhmo1zG6Uc3p6+DcFNTWsAJ2gvpFtTo/VpGut+r2Ufuews4AVH6479UY0kyXL nDnavZ4jvfxDPyaex3KFJ/mudKghsktITrrU1enOzArB8w938Tq56at6C1Tiwd8Ypj8o BHxBXA0BQOdTw2AV6/UpG+llRJSEgyQJtK8j/Cl4hT84Y92iQdQU0ywGwR587HVmazDF 4NmKjOmuBy492BzKSkOt10cEDa4icyJ4l0KdJrKG91AVkjgqiRNDlDFww9rsrHbabyYc g9lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=wE63hykpdOWCKf+hJ+uo4tJ4NmzeI9PTAqJH7wvSMlc=; b=0CEp14YLhxnfQMwbnmUTFI0PpKunaZwW4FAbO6laVeYGZt0OP/XGJ+qVGrBf2WNUXK p1I8U3hNO8VeOVyGwgN+HCerjaVWLmXpdOUm3EiCZwZuZjY6xn69NSLFOQMD2O/NR5XK RoLdDPX4U0SVJJq5dEwxOMdhzRpr/EerW2LtojtrpG+RIfWp7EKfX1H4p4YDoDh5eS21 xj9e6mYMjyKF1Ci4XbwUgM+A/yL7/pqwElfJaarmCg1dbCLKA/SkYuFmyuQ9dzKfiq8a 3vppp0gQExo475lo16rAqNXiFANvifmG7acmdezWDj3byhBxmA81npHGYoGvJx0kS8vQ sSqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LhfgIFjP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g22si7825675edq.111.2020.07.28.07.39.52; Tue, 28 Jul 2020 07:40:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LhfgIFjP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730455AbgG1Ofa (ORCPT + 99 others); Tue, 28 Jul 2020 10:35:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730451AbgG1Of3 (ORCPT ); Tue, 28 Jul 2020 10:35:29 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1143DC0619D4 for ; Tue, 28 Jul 2020 07:35:29 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id g19so8880175ioh.8 for ; Tue, 28 Jul 2020 07:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wE63hykpdOWCKf+hJ+uo4tJ4NmzeI9PTAqJH7wvSMlc=; b=LhfgIFjPN1Zt6pM27TDwc0D9sQ3LgHFulpPO2SX5S88mG/mDfs8otJIYAkvnkswxld 9pGQRB5MX9+c/pNc/D2jvjcUfkcaX+O+bWMi/ZdZWSGCZgEcirUgpaGCBHTTFwLDeXxm blFwenzn7yqD2djWtvbrpRZs6R2NA61KUwTMx0D/r9/j+IuKq9D9CivCPsM5HlRumsun 8SeaeatA922UsvA+t5ljvF60Q6rxHuH9aAmjAJ5nqq0yc8rdtO4PxA+a9Y5/pkBdStPf L/JGt34i7DNkTsg+8boIo3khF5Q26aC+wBgUC+PHLlS8m0uSQi46IDgH+/15eUls3L+F tp9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wE63hykpdOWCKf+hJ+uo4tJ4NmzeI9PTAqJH7wvSMlc=; b=jOZZCOjYAvAGudtQCeqhcerhWg+kBe4b/eNN4qbXFTQcSk6o1nUBfoVUGxtVu1WEmA jxSyY70EvqPnZzLTp9Nss2+y/NBir17laJyLfKwJUwxwi+z59FxAbzeo68+Jmyu4SJ6Z ULIyb9I3u6m2XlBrqiAaUL+hpg7by3siY9aNxcDL8vrEt+jkPCri6GZCqNOSJNCkXzIw xZe2Yu6nolxGRz8bcmWJzlJI9MOEttq9F8k/hvud9r/c7EhzZIpoGMKL0//k0/MdbOf3 xv/fXD9+xAenQn5/sS+8RTCAkEKlOGxIijXUk9jM2lV252sUAzhQBnccvBM1efZp+jMI YNMg== X-Gm-Message-State: AOAM530yg9UPGTKBiONOnBdlp4eybTRP88Dftw2FEz2sMxxg0qUPqQZY 0gddm30S2pT2uj8wvvjvvyUuFwZ9TosLedDdt9fPug== X-Received: by 2002:a05:6638:134a:: with SMTP id u10mr6463616jad.35.1595946928305; Tue, 28 Jul 2020 07:35:28 -0700 (PDT) MIME-Version: 1.0 References: <20200727134914.312934924@linuxfoundation.org> In-Reply-To: From: Naresh Kamboju Date: Tue, 28 Jul 2020 20:05:16 +0530 Message-ID: Subject: Re: [External] Re: [PATCH 4.19 00/86] 4.19.135-rc1 review To: Muchun Song Cc: Greg Kroah-Hartman , open list , Linus Torvalds , Andrew Morton , Guenter Roeck , Shuah Khan , patches@kernelci.org, Ben Hutchings , linux- stable , Hugh Dickins , Christoph Lameter , Roman Gushchin , Joonsoo Kim , linux-mm , mm-commits@vger.kernel.org, Pekka Enberg , David Rientjes , Shakeel Butt , Vlastimil Babka , Arnd Bergmann , lkft-triage@lists.linaro.org, clang-built-linux@googlegroups.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Jul 2020 at 18:33, Muchun Song wrote: > > Thanks for your test. I have reviewed the patch: > > [PATCH 4.19 76/86] mm: memcg/slab: fix memory leak at non-root > kmem_cache destroy > > There is a backport problem and I have pointed out the problem in that email. Thanks for your suggestions on the other email thread. I have made changes as you said and boot test pass on x86 now. diff --git a/mm/slab_common.c b/mm/slab_common.c index 9c5eb4b08fc3..65bc49f19504 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -842,9 +842,7 @@ static int shutdown_memcg_caches(struct kmem_cache *s) static void memcg_set_kmem_cache_dying(struct kmem_cache *s) { - mutex_lock(&slab_mutex); s->memcg_params.dying = true; - mutex_unlock(&slab_mutex); } static void flush_memcg_workqueue(struct kmem_cache *s) - Naresh