Received: by 2002:a05:6520:4211:b029:f4:110d:56bc with SMTP id o17csp1548833lkv; Wed, 19 May 2021 12:31:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwy+klgfZXd5Q0xzO6Bs6wI11HtdE6tVOpCXFSMIxr1G7uKQQZ3AwNuwraneW7IL9QE2FhL X-Received: by 2002:a17:906:2c19:: with SMTP id e25mr735069ejh.53.1621452511557; Wed, 19 May 2021 12:28:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621452511; cv=none; d=google.com; s=arc-20160816; b=kyU9gEiZYRBx8+uJc+1U6NhQETwDlPZGMQq1Koi76Pcx71TobcKAzy/7QXYLBAwjTH jtYqp5uDOClGsVFy/s6ZBLwjV37Pby9SyNnYHi1+Tr67NYcIiDFotFVl9Mu6lFFW0JXz nDYnnm7mHrqjcpv/N9/4rpouvk6hnB/CAS6U4yiuv2KTEcFjGUPwHHbq1foz0YAkszow wlpXCY1Qym4qjFI8huxWi6gT7l9h43QHym6d1dLSVzz8LG4IWGqq6JFKo+xJ3Oy2TtU/ H8p2nF0L8lNDlIXm149gxBnawWiBV9q/PnLuACRoaXQrf5vaKC/pltkryjx1d/VeOiHK mCwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dmarc-filter:sender:dkim-signature; bh=6jN30GAH7SHyi9pdzuWcOo8HGMqceCQWxC8zP9uePyA=; b=GKuI63nDmLIZiLhFfbHx1U0ZJ2Cf82+aMm34/boaAJjt1ObuNqgYP9NvVHHKvy8sNC G06IqNLbzgnxdp7sFXlWeysZ5Xt+sG9GDYKKKAQEMQXOgMTuKwQ/ae6Y6KoRUCqC3Kz6 0jsq/0ytcCduvMLlstjkzoEB6vmzNXZCm03xa7mZBRAorPhYFB06RCDwx42iQ5XSW6kO bpAOJ+pFqWOy+LVg4Ck+lf/nPrkyY2IcFNFlz1IlGFQW2d4AWhpu9W9FCPZii0OXmoV+ jhAmw2/PcehoJfCcVI9Nbn5IZFezoaeBFcVt+DHflWcZGRPZGxfC6wRq2aisTztXj/rw 0h4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=xCxspIAR; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si14562edu.36.2021.05.19.12.28.07; Wed, 19 May 2021 12:28:31 -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=@mg.codeaurora.org header.s=smtp header.b=xCxspIAR; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240819AbhESKur (ORCPT + 99 others); Wed, 19 May 2021 06:50:47 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:18208 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232884AbhESKur (ORCPT ); Wed, 19 May 2021 06:50:47 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1621421367; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=6jN30GAH7SHyi9pdzuWcOo8HGMqceCQWxC8zP9uePyA=; b=xCxspIARlFxvtUJb3HAqbJIZeiGty9lGevWd7DP26Jek+zNEFAU3+DnuhfFMjJMidsT/enFl LmBt/bDuvv34bRJXEhwkJNgksciLyQLpwzD0tFVicnG/X6/NrHp7DPK5oGOxa/Kgtvx2B9rB p4RQVV0I5gpE0hBX3c/xxkQRUy8= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-east-1.postgun.com with SMTP id 60a4ecfbb15734c8f906106b (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 19 May 2021 10:48:27 GMT Sender: faiyazm=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id EE1A0C43144; Wed, 19 May 2021 10:48:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.0.105] (unknown [49.204.182.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: faiyazm) by smtp.codeaurora.org (Postfix) with ESMTPSA id E2438C43460; Wed, 19 May 2021 10:48:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E2438C43460 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=faiyazm@codeaurora.org Subject: Re: [PATCH v6] mm: slub: move sysfs slab alloc/free interfaces to debugfs To: Greg KH Cc: cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, vbabka@suse.cz, linux-mm@kvack.org, linux-kernel@vger.kernel.org, glittao@gmail.com, vinmenon@codeaurora.org References: <1621341949-26762-1-git-send-email-faiyazm@codeaurora.org> From: Faiyaz Mohammed Message-ID: Date: Wed, 19 May 2021 16:18:20 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 5/18/2021 6:58 PM, Greg KH wrote: > On Tue, May 18, 2021 at 06:15:49PM +0530, Faiyaz Mohammed wrote: >> alloc_calls and free_calls implementation in sysfs have two issues, >> one is PAGE_SIZE limitiation of sysfs and other is it does not adhere >> to "one value per file" rule. >> >> To overcome this issues, move the alloc_calls and free_calls implemeation >> to debugfs. >> >> Rename the alloc_calls/free_calls to alloc_traces/free_traces, >> to be inline with what it does. >> >> Reported-by: kernel test robot >> Reported-by: Dan Carpenter >> Signed-off-by: Faiyaz Mohammed >> --- >> include/linux/slub_def.h | 8 ++ >> mm/slab_common.c | 9 ++ >> mm/slub.c | 359 ++++++++++++++++++++++++++++++++++++----------- >> 3 files changed, 294 insertions(+), 82 deletions(-) > > If this is v6, what happened in v1-5? That should always be below the > --- line, right? > Will update in next patch version. Thanks and regards, Mohammed Faiyaz