Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp4005612pxb; Tue, 7 Sep 2021 12:24:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfJCabcVthqmNZWagMAFmAX8MrqItXKk9vFuk4iS7dnIpdq07jZoLkE8LhLUl7jGiNVFoJ X-Received: by 2002:a05:6638:419e:: with SMTP id az30mr16936729jab.90.1631042682532; Tue, 07 Sep 2021 12:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631042682; cv=none; d=google.com; s=arc-20160816; b=OKzOS47yub1W1rwb82vDIPKHjbvKPrDpTgNildS8xPLnB3eab/Q4AeC7xXBzCefKAo qNyQn/8qpPKpBBawBoHhVDihYIZu7RvR5h7ICObFwu/eRsai0OKJAgzfgwyNsrWXZja/ ZDUYoupjDwqYMvWnVS6vFCzn6YHimPari7tbTSfN8QpuklMFUc0CTl34AJVJ2+/Ohxsa KJAXJzThLL5Mtlp2WurtJg0XM8fQg9HBwwOhgWxE45PfzdKOJXniXPig1OCoHPFwDSTm emUu4UDg9Zilv2S55ndD+t0+4bQIV7O7jugpik2Hz+TqYDM0H+wY7aPz+46IUnikHvbN oetA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mtfAxst7zPqDCwqJkjePIsJDgkS8yCowhuk/DOgTTLI=; b=T9isD/OK9sF/aCKQpp2GXW3ta6n0gP+kdb09r/wAJdmZ3vuFaE7q7gPT70Dl8iqYMG AbLMfQ/JmuM/Z00fK1l1jdMWTWgOHuGwn+Oa15hfuQV4waV2njHAl5eOEJd5uRsUDh5G yWM9Hpqm8ju8cQk3KV0B2Ve2DjIGsfDQpLdFyjxCzpxwg+8HUAN/xZ0AA64hjesYL/5Q 7CoB6WkA2TSkA9eLlcl/W4GDi29qpdHjSd6ydQ+Hz2tJbHZx+1VLvUmVEDkedYO7OZ6G kUR8S+rcdoVueUcTX/7QBZY0+lcNneViCel7rW+xUDiIqWY3QtVVpy/Prcd4SFGF4aki a9gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Y1Mftb1u; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z3si11153524iln.95.2021.09.07.12.24.30; Tue, 07 Sep 2021 12:24:42 -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=@google.com header.s=20210112 header.b=Y1Mftb1u; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345808AbhIGSUq (ORCPT + 99 others); Tue, 7 Sep 2021 14:20:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245718AbhIGSUp (ORCPT ); Tue, 7 Sep 2021 14:20:45 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CEDFC061575 for ; Tue, 7 Sep 2021 11:19:39 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id m28so21239946lfj.6 for ; Tue, 07 Sep 2021 11:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mtfAxst7zPqDCwqJkjePIsJDgkS8yCowhuk/DOgTTLI=; b=Y1Mftb1ueJkuVr+fK9Gmo/S+YiW2f+pXdD+gZ8/7qCMvXaXn/8upk41U+dlfgqrIq5 HRR32JoSZUhge2B4tRmBFMd+ANBgRSy8iB53MsrVtt+6v27bOhbZcDaHYhpsJ6Fk7TUc 1AUR4d+4FxFrJkUQWgB54DiUcUQb+xJk9A2gNqmK591+0JsNfg4CNI6nUp7PXOsoxYLO ZPUA7giqcHi558VFQAlHqsmpCkcI8c/bd9lsGSMt/dT2a6ZZ60shFzj/CpeLbjTOih5S t+M1nqS0TzTzFk1Xtf9e8rAEcqvPW22ECXCCw1tY3cNiwixMyL9VQnM6LeCVjEsyKmCg joEg== 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=mtfAxst7zPqDCwqJkjePIsJDgkS8yCowhuk/DOgTTLI=; b=dNSg+fXp/7P5Y7TroJWZ0z7+irWdmcyhr/Du5tKk1g8rj4YtiZbvZGXGwjYH5bNNqK w6dD3zrI+lOnIyMdRB2Y1f7aT0oQ5dsp+XbaJd7OlX8vWUyu2gwiZ9CvX16dtfzkYq/o 9uCnK2uVJCGxz8hLrFKROwuXee+i6yjxHA858wcopCZbk1wbVcTe8WkIE8MyJcAyg0SO zWmYDxOo4V1s+2ygG36nNtSpRH964go01HRWRLakCvlwUx688dqqlFEmN2bpwg7d+YBW LHaF0zUNYQfIB51hEbyL2tQMYMUIenW/81VFdOGBJFwVm1QiRB8kfwTh17Wfi7aQS0Ap 5t7Q== X-Gm-Message-State: AOAM532hMlTnI4DHwFFiH76EeYGau9lMP3nvThbf0JOMd4Ai8ZS5w7+L ODxcqGNknX6UiNQDSExoN7ts4m8kcUSEBBEpUU7kkg== X-Received: by 2002:a05:6512:132a:: with SMTP id x42mr13239990lfu.210.1631038777357; Tue, 07 Sep 2021 11:19:37 -0700 (PDT) MIME-Version: 1.0 References: <20210907150757.GE17617@xsang-OptiPlex-9020> In-Reply-To: From: Shakeel Butt Date: Tue, 7 Sep 2021 11:19:26 -0700 Message-ID: Subject: Re: [memcg] 0f12156dff: will-it-scale.per_process_ops -33.6% regression To: Linus Torvalds Cc: Minchan Kim , Jens Axboe , kernel test robot , Vasily Averin , Alexander Viro , Alexey Dobriyan , Andrei Vagin , Borislav Petkov , Borislav Petkov , Christian Brauner , Dmitry Safonov <0x7f454c46@gmail.com>, "Eric W. Biederman" , Greg Kroah-Hartman , "H. Peter Anvin" , Ingo Molnar , "J. Bruce Fields" , Jeff Layton , Jiri Slaby , Johannes Weiner , Kirill Tkhai , Michal Hocko , Oleg Nesterov , Roman Gushchin , Serge Hallyn , Tejun Heo , Thomas Gleixner , Vladimir Davydov , Yutian Yang , Zefan Li , Andrew Morton , LKML , lkp@lists.01.org, kernel test robot , "Huang, Ying" , Feng Tang , Zhengjun Xing Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 7, 2021 at 10:54 AM Linus Torvalds wrote: > > On Tue, Sep 7, 2021 at 9:49 AM Shakeel Butt wrote: > > > > On Tue, Sep 7, 2021 at 9:40 AM Linus Torvalds > > wrote: > > > > > > We are worried about them. I'm considering reverting several of them > > > because I think the problems are > > > > > > (a) big > > > > > > (b) nontrivial > > > > > > and the patches clearly weren't ready and people weren't aware of this issue. > > > > Sounds good to me. Please let me know which patches you are planning > > to revert. I will work on the followup to make those acceptable. > > The one that looks clear-cut is the one in this thread: > > 0f12156dff28 memcg: enable accounting for file lock caches > > which seems to result in regressions on multiple machines and just be > very bad for anything that uses file locking. I'm not entirely sure > how much that would show up in real life, but I can most definitely > imagine it being a problem on a real load. > > There's a few other regression reports I've seen, like > > 5387c90490f7 mm/memcg: improve refill_obj_stock() performance > > but that one had mixed reports (it improved another benchmark), and it > looks like Minchan has a fix for the regression already. > > And > > aa48e47e3906 memcg: infrastructure to flush memcg stats > b65584344415 memcg: enable accounting for pollfd and select bits arrays > > were reported as a regression in -mm, but not in mainline yet. > > I assume (but didn't check) that aa48e47e3906 is a bigger deal to revert. > I am suspecting aa48e47e3906 might be similar to [1]. I am testing that theory. [1] https://lore.kernel.org/all/20210811031734.GA5193@xsang-OptiPlex-9020/T/#u