Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8C87C432C0 for ; Tue, 26 Nov 2019 16:32:58 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 712572071A for ; Tue, 26 Nov 2019 16:32:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 712572071A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E420A6B0326; Tue, 26 Nov 2019 11:32:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DF2AF6B0327; Tue, 26 Nov 2019 11:32:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D08506B0328; Tue, 26 Nov 2019 11:32:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0237.hostedemail.com [216.40.44.237]) by kanga.kvack.org (Postfix) with ESMTP id BCE2A6B0326 for ; Tue, 26 Nov 2019 11:32:57 -0500 (EST) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 74DD34995F7 for ; Tue, 26 Nov 2019 16:32:57 +0000 (UTC) X-FDA: 76198972794.10.steel56_8e2f9f7355c3e X-HE-Tag: steel56_8e2f9f7355c3e X-Filterd-Recvd-Size: 1587 Received: from gentwo.org (gentwo.org [3.19.106.255]) by imf36.hostedemail.com (Postfix) with ESMTP for ; Tue, 26 Nov 2019 16:32:56 +0000 (UTC) Received: by gentwo.org (Postfix, from userid 1002) id 1F2FE3ED43; Tue, 26 Nov 2019 16:32:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 1E4D83EC49; Tue, 26 Nov 2019 16:32:56 +0000 (UTC) Date: Tue, 26 Nov 2019 16:32:56 +0000 (UTC) From: Christopher Lameter X-X-Sender: cl@www.lameter.com To: Michal Hocko cc: LKML , linux-mm@kvack.org Subject: Re: SLUB: purpose of sysfs events on cache creation/removal In-Reply-To: <20191126121901.GE20912@dhcp22.suse.cz> Message-ID: References: <20191126121901.GE20912@dhcp22.suse.cz> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Bogosity: Ham, tests=bogofilter, spamicity=0.000176, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, 26 Nov 2019, Michal Hocko wrote: > 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? I have no idea about what this is. There have been many people who reworked the sysfs support and this has been the cause for a lot of breakage over the years.