From mboxrd@z Thu Jan 1 00:00:00 1970 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=-10.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham 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 EF612C48BCD for ; Thu, 10 Jun 2021 08:56:54 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 74365613C0 for ; Thu, 10 Jun 2021 08:56:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 74365613C0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 18B4D6B006E; Thu, 10 Jun 2021 04:56:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0C6496B0070; Thu, 10 Jun 2021 04:56:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E321B6B0071; Thu, 10 Jun 2021 04:56:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0214.hostedemail.com [216.40.44.214]) by kanga.kvack.org (Postfix) with ESMTP id A91B96B006E for ; Thu, 10 Jun 2021 04:56:53 -0400 (EDT) Received: from smtpin06.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 537AE6137 for ; Thu, 10 Jun 2021 08:56:53 +0000 (UTC) X-FDA: 78237209106.06.5C68027 Received: from so254-9.mailgun.net (so254-9.mailgun.net [198.61.254.9]) by imf02.hostedemail.com (Postfix) with ESMTP id 1C2D041AD7B6 for ; Thu, 10 Jun 2021 08:56:49 +0000 (UTC) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1623315412; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: References: Cc: To: From: Subject: Sender; bh=UPJ0taLEBb3jkwcs8gildde6vVSayjTGVrrycTxL2Vo=; b=dFlbD+XQo4F7MisuPQiGqXqqcTvQyBWK15qiQjxVmHppzZ4rNl95M+uXogtxMLQq7+yg+oGW FN4SBKhNfPsl8XTwnRZNIFYp/QyZ1BzOHsdjAAxAJivDn2ideDbwhnBsWllQoYFkaWsiurca silDQvTI3GWjK/1+HviLPEB0axI= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyIwY2Q3OCIsICJsaW51eC1tbUBrdmFjay5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 60c1d3d38491191eb3c2d7f9 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 10 Jun 2021 08:56:51 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 1E5D1C4323A; Thu, 10 Jun 2021 08:56:51 +0000 (UTC) Received: from [192.168.0.105] (unknown [49.204.182.221]) (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 6425DC433D3; Thu, 10 Jun 2021 08:56:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6425DC433D3 Subject: Re: [PATCH v11] mm: slub: move sysfs slab alloc/free interfaces to debugfs From: Faiyaz Mohammed To: Andy Shevchenko Cc: Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , linux-mm , Linux Kernel Mailing List , Greg KH , glittao@gmail.com, vinmenon@codeaurora.org, Vlastimil Babka References: <1623141934-7699-1-git-send-email-faiyazm@codeaurora.org> <78fc8848-bde8-769e-f8e9-6157d232a60f@suse.cz> <47842d8d-2747-3d0f-8695-122dc23d90e6@codeaurora.org> Message-ID: <7d652fca-23f3-fc03-c7b2-310edcafebb3@codeaurora.org> Date: Thu, 10 Jun 2021 14:26:43 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <47842d8d-2747-3d0f-8695-122dc23d90e6@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 1C2D041AD7B6 Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=mg.codeaurora.org header.s=smtp header.b=dFlbD+XQ; spf=pass (imf02.hostedemail.com: domain of bounce@mg.codeaurora.org designates 198.61.254.9 as permitted sender) smtp.mailfrom=bounce@mg.codeaurora.org; dmarc=none X-Stat-Signature: hqxpmtsduect46cgeynf4fx5byujg4rn X-HE-Tag: 1623315409-403514 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Andy, On 6/8/2021 11:43 PM, Faiyaz Mohammed wrote: > > > On 6/8/2021 11:05 PM, Vlastimil Babka wrote: >> On 6/8/21 7:11 PM, Faiyaz Mohammed wrote: >>> >>> >>> On 6/8/2021 5:20 PM, Andy Shevchenko wrote: >>>> On Tue, Jun 8, 2021 at 11:45 AM Faiyaz Mohammed wrote: >>>>> >>>>> alloc_calls and free_calls implementation in sysfs have two issues, >>>>> one is PAGE_SIZE limitation 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 >>>>> implementation to debugfs. >>>>> >>>>> Debugfs cache will be created if SLAB_STORE_USER flag is set. >>>>> >>>>> Rename the alloc_calls/free_calls to alloc_traces/free_traces, >>>>> to be inline with what it does. >>>>> >>>>> Signed-off-by: Faiyaz Mohammed >>>>> --- >>>> >>>> It seems you missed the version bump along with changelog. >>>> Note, some maintainers (actually quite many I think) are using tools >>>> to fetch up the patches and two patches with the same version is a >>>> problem. Hence I do not consider it a nit-pick. >>>> >>> Hmmm, I think to avoid same version problem I have to push same patch >>> with new version number and thank you for your patience. >> >> I *think* Andrew wouldn't have this issue, so maybe resend only if he says it's >> needed. > Sure, I will send if he ask. Do I need to send patch with new version number?. >> On the other hand I did have troubles to apply the last version locally, patch >> (tool) complained of patch (file) being malformed at the end. Did you add or >> delete lines from it after generating the patch? I had to use the recountdiff > Yes, I added one line manually, I think that causes the issue. > >> tool to fix this. If you're going to resend, please make sure it's without the >> same issue. >> > Okay > >>> Thanks and regards, >>> Mohammed Faiyaz >>> >>