Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4157453ybc; Tue, 26 Nov 2019 04:51:06 -0800 (PST) X-Google-Smtp-Source: APXvYqyHNfQhslNgmxFT9nA9B5r2498RnlsMaBWGvzMtF0KWCMXR1LRNHNPGIa579s6FBr0yXmQQ X-Received: by 2002:a17:906:4e07:: with SMTP id z7mr17435014eju.201.1574772666713; Tue, 26 Nov 2019 04:51:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574772666; cv=none; d=google.com; s=arc-20160816; b=QmaN+me8ZW9dw43sh316kUldkMGzIf3XhxEpJWshA5TCDcE4vMYMKijwFKqVB74gQU vC8pFAhYFL9qNRCothYdUnGNLpv5jMkZyWSRUwfJTVUejodQ9AL4ua9utADL4E01674c 5aATS87MLmTdtHVC+hmLQPudo4zuFIugwShiCAvInKe7zRyUG8sFPGPhf0mcAWH+UZ1v 2CMdmD9Ibv8cx2TnndfOjDP8oZd94aqRS3gjXBva3fFrZawPGM/RCfgP6FIpE2lsBhJk dxvmElhMsm50JMu/pNPFH+pPPH9sErB88xpGYUPwjShx6BfVvaf2d7LPytTCB0oc0m6q Y80g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=7FMoRj/ytJrUR66B8EfiOg4Y0/kxvjsVOapeN7HOSP0=; b=sgtBYquoZ9M1Pic4tnM4rCG1uCjJyt+pfaYGIfgRxEE45vjoim3Q6udGGFobau4tAi EpMZ1tJIqxmYCl0Maxckj5lZCUszMGiZENJYYD3UWG2FHzcIr7ZpRuYeC2kVx5rGgXej VfIslhZ86HsBFKyhXTaykt/aNPYknyFgYYQRP+p34voP99kEhwKdt+HzZM2Y8vX6x731 rtEX2JW15cB0RpOufcFEKF+OQDYrjff1IR/rhr7fXl+Hg46uLNxOFquPTJ7B1EXBHnG+ UNc0RWCiUvLKBN2yignEZdZX4jHNYBQGPNFhTAbs28ECKTgN+3oCkwIUW/lNoHWVpu54 xOng== 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 la17si7017580ejb.433.2019.11.26.04.50.43; Tue, 26 Nov 2019 04:51:06 -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 S1728297AbfKZMTE (ORCPT + 99 others); Tue, 26 Nov 2019 07:19:04 -0500 Received: from mail-wm1-f46.google.com ([209.85.128.46]:52792 "EHLO mail-wm1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727615AbfKZMTE (ORCPT ); Tue, 26 Nov 2019 07:19:04 -0500 Received: by mail-wm1-f46.google.com with SMTP id l1so2980775wme.2 for ; Tue, 26 Nov 2019 04:19:03 -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:mime-version :content-disposition:user-agent; bh=7FMoRj/ytJrUR66B8EfiOg4Y0/kxvjsVOapeN7HOSP0=; b=p4To6L/uUB4Ynfx7xv9qYg7QuplT6BywCInGbTvO70p7KOEHOF7T4FECjv05a/l7EA pCjPMiBaFxR4pe+3hRAvs3KwYMZhkhq/NhVPTd5Nr/BVauiSiKH2m++0/jH65PvXmWOT ILSo5VBDmduw14z8IvMPXgw20oTeQV7NttmjsCsdylkKNSbrWersAkLvbVyRrQlsoDPB IXq0EymWCaphhE/9nrJ7OiBFEtp/a29Oks1li4Q/T63kuH6rYsjR/6+PIa1MIemoDBSG sLPUgG9OS2BNT+8di8HFdZALDyJathMBjtFV9ZKiHJtO9qiHdB4dDwi8JLFv0oeeFS1E H9VA== X-Gm-Message-State: APjAAAUjDPPf+UVuByThSUzaIhharhuApPTBKF8NuxcCp3fHMoTYOlH6 ArSDvEYtN1C7LA2Hs8kTfkOsC3zO X-Received: by 2002:a7b:c006:: with SMTP id c6mr4186483wmb.52.1574770742789; Tue, 26 Nov 2019 04:19:02 -0800 (PST) Received: from localhost (prg-ext-pat.suse.com. [213.151.95.130]) by smtp.gmail.com with ESMTPSA id k18sm14941263wrm.82.2019.11.26.04.19.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 04:19:02 -0800 (PST) Date: Tue, 26 Nov 2019 13:19:01 +0100 From: Michal Hocko To: Cristopher Lameter Cc: LKML , linux-mm@kvack.org Subject: SLUB: purpose of sysfs events on cache creation/removal Message-ID: <20191126121901.GE20912@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Hi, I have just learnt about KOBJ_{ADD,REMOVE} sysfs events triggered on kmem cache creation/removal when SLUB is configured. This functionality goes all the way down to initial SLUB merge. I do not see any references in the Documentation explaining what those events are used for and whether there are any real users. Could you shed some more light into this? -- Michal Hocko SUSE Labs