Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5809084ybc; Wed, 27 Nov 2019 09:44:54 -0800 (PST) X-Google-Smtp-Source: APXvYqywaKoLDlnHsRHMV66EssH2vly4AksXiAJOEEjs8tnsAhyNoul3kvJJ7avfXbGw3jAHY+uM X-Received: by 2002:a17:906:2344:: with SMTP id m4mr35446703eja.110.1574876694444; Wed, 27 Nov 2019 09:44:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574876694; cv=none; d=google.com; s=arc-20160816; b=k1CeLCQx7l1RGz1lJt16zJXqPBlz+pSDjav1NMlfBJJfBGR7Q3ItJpneu1SJVFlJwK Enu9XoHZIto1YgYcbMfEMDlA/VptnNVET/ePP9OqSjVPQohtBtRrRAxhFabDtw2vQDX4 XbmZJqOAZ9eKaigbTjxlZERw4rNVZNc1KcXkAg4LyUNN1KHzrA97mJdW6Hy3fdXe09AW D2gP6PczXbQIeegweSB+E+DfRh9d6nB0z7f6WUv907I20xe3m+a/FGlygXGB9CivO9Ur jymPwDCU91Yvuqu88bjd35xcNawaIGpq29zSWJa0Vs3PcSV2RVJNl7SUOKNWLlIf9S8J ze5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tSJWGvRdO6CDjk2KxjQwZuJhy9Tg5L6rOZn+ujJ/7s0=; b=OQlfXsL2uIg9FBBJVPRyP1qrzQvmdoKXeqTU+peiMrtCtT+xTbPRy9Ry6COBarMFWR e7awIJujuomii4m+CFiUI8pBjcJMFdWPVDz0tieCouA15/hz2DLLuz4jDEkV8tY00vVa CBMO0zM3jefOSo42Y/LZ53v0/8x5AEl1ejNHSH6xs+cWc/cRqfeyCgazHUoFNEJM3c81 tTpNZzJHWIe96aBz6isoGHWwVTFMOIvrC7tveEpNs/ffgMwIugjx7j4YPeGFM5sFTfHE stf9miIDVtJoWENraXJe2Eky6D58j6rpp3iFd45PKyDd1WRxEQXjI970HC1iqlCji5cV cjXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f25si10489387ejt.9.2019.11.27.09.44.30; Wed, 27 Nov 2019 09:44:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727117AbfK0RnW (ORCPT + 99 others); Wed, 27 Nov 2019 12:43:22 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38986 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726576AbfK0RnW (ORCPT ); Wed, 27 Nov 2019 12:43:22 -0500 Received: by mail-wm1-f67.google.com with SMTP id s14so1747621wmh.4 for ; Wed, 27 Nov 2019 09:43:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tSJWGvRdO6CDjk2KxjQwZuJhy9Tg5L6rOZn+ujJ/7s0=; b=l4ZR4/lOUOzCy29UwPOA06UEFV973rxG09u2lhxTDl+bw7hnEVYd5zBF4A9ZpVBs29 wmSGq5HslF3i/f2mMQ7pKNO+vCx7sS9zs4tVHEtmiAZkziA4oPm6eeIi91WMk99gaJkb qHmxyn7bgl6BqkbCpWc+KQneW2ADRO/vtEA4UAiY8dZMqMakYckH5+EZVHlJ+eOPsus/ O6Ier0v0xZP4xZnif4S2PmGbtE3ANoYmJQ5p/HG+xASIBRoQj2d6nxEJFXKkTuiJAhCb q9Z5+SfQhMBkoBTl8Sz7P983yYXiLc0vCT6ocNO44qhXCYiOomCN2fEmtPQJotSvUZ7c alAA== X-Gm-Message-State: APjAAAUmMGMBzN6gPBfvcTc9SDqd9F7WRaO1WyIAeQ+LwX16RKfrqK/7 tuW9s2jl8a4430PB7v+1tLLF1aS0 X-Received: by 2002:a1c:7d01:: with SMTP id y1mr5341026wmc.157.1574876600033; Wed, 27 Nov 2019 09:43:20 -0800 (PST) Received: from localhost (ip-37-188-137-84.eurotel.cz. [37.188.137.84]) by smtp.gmail.com with ESMTPSA id t12sm2235062wrs.96.2019.11.27.09.43.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2019 09:43:19 -0800 (PST) Date: Wed, 27 Nov 2019 18:43:17 +0100 From: Michal Hocko To: Christopher Lameter Cc: LKML , linux-mm@kvack.org Subject: Re: SLUB: purpose of sysfs events on cache creation/removal Message-ID: <20191127174317.GD26807@dhcp22.suse.cz> References: <20191126121901.GE20912@dhcp22.suse.cz> <20191126165420.GL20912@dhcp22.suse.cz> <20191127162400.GT20912@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 27-11-19 16:26:11, Cristopher Lameter wrote: > On Wed, 27 Nov 2019, Michal Hocko wrote: > > > Would you mind a patch that would add a kernel command line parameter > > that would work like memcg_sysfs_enabled? The default for the config > > would be on. Or it would be preferrable to simply drop only events? > > Just drop the events may be best. Then we know if someone is using it. I would be worried that a lack of events might be surprising and a potential userspace wouldn't know that something has changed. -- Michal Hocko SUSE Labs