Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp487947pxf; Thu, 18 Mar 2021 05:37:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9c3SluZMP6EOjitqRB3WmJXPNy2oXba/sD4EltrWq5fw3cEgRtXwC3iP94tn4/Z7EH5Vk X-Received: by 2002:a17:906:311a:: with SMTP id 26mr40474544ejx.395.1616071048735; Thu, 18 Mar 2021 05:37:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616071048; cv=none; d=google.com; s=arc-20160816; b=PQqUaf6ukLB3kAuDjLHMcDCJxZvxiW5pVJaSnm6CJNI3jiLbJZ67vDFwTjgVh+EDjF zObRW26Llc1WBMnIAKqjyN0Nz+F4RX24/cNo1I96nsifj1ZSQrCU+M9uQUTbGPFq3zYW OEeL7R7agum+8llFLmTZCNu9tu0HqCNUvZhCVbsIwZqn5XRqXcMTJYKjWDQUMu8AmWit lDM8QVQ1+Kgg/3KBgSOcLVo/RDRRRxSYUZ8l9aRUzbOdg6VEmzQIFFNn+AVD3+Ms/Wys 6COcflucK7VQEPQB0iUNDy5yltouuXENTZWm48YN7dhQ/YBn3ZPViwBA9QL/+TNiY1TZ Zu9g== 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; bh=txOMkUkDyfdKysZ4PKii2v7QQMzcS1ZGnWZst5UMqtg=; b=MTMVMbU+JLynB4jsoCizTX7BHfR1guzTvdW+GjYwT6gYmMwfZAlqTy0f53y/FsMJqP 28yCUIjHYUVva5IPnAEmpqlKUAquC6p52tJ2SDRxEGorF+i+OqpbMcBUfT7V0uLVQnzM KIK1G7jb8SSwWdm5ytVpjwUpzHiz8Tr1d+7m0pIROyf2ryPhkqXLj+a6AiUj+JFSoNjq za10WRh7hrpN+isuUcyUAhFcKgo3tYqdZj7qGYXSGIYYUTn+DGDpmqRgPRaqix0+Mt1q o5Y8cVajDWskG1zeybTDsGRuKIrTKJ741WYLyjlq3JXfb7O/k5nK0Gw7H217z1gwkq8k cK0Q== ARC-Authentication-Results: i=1; mx.google.com; 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 b25si1384959ejv.506.2021.03.18.05.37.05; Thu, 18 Mar 2021 05:37:28 -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; 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 S230408AbhCRMgJ (ORCPT + 99 others); Thu, 18 Mar 2021 08:36:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:50102 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbhCRMfj (ORCPT ); Thu, 18 Mar 2021 08:35:39 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 3D68DAC1E; Thu, 18 Mar 2021 12:35:38 +0000 (UTC) Subject: Re: [PATCH 2/3] mm/slub: Add Support for free path information of an object. To: Maninder Singh , paulmck@kernel.org, linux@armlinux.org.uk, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, 0x7f454c46@gmail.com, viro@zeniv.linux.org.uk Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, a.sahrawat@samsung.com, Vaneet Narang References: <1615891032-29160-1-git-send-email-maninder1.s@samsung.com> <1615891032-29160-2-git-send-email-maninder1.s@samsung.com> From: Vlastimil Babka Message-ID: Date: Thu, 18 Mar 2021 13:35:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <1615891032-29160-2-git-send-email-maninder1.s@samsung.com> 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 On 3/16/21 11:37 AM, Maninder Singh wrote: > Adding support for inforamtion of free path along with allocation > path of an object: > > slab kmalloc-64 start c8ab0140 data offset 64 pointer offset 0 size 64 allocated at meminfo_proc_show+0x40/0x4fc > [ 20.192078] meminfo_proc_show+0x40/0x4fc > [ 20.192263] seq_read_iter+0x18c/0x4c4 > [ 20.192430] proc_reg_read_iter+0x84/0xac > [ 20.192617] generic_file_splice_read+0xe8/0x17c > [ 20.192816] splice_direct_to_actor+0xb8/0x290 > [ 20.193008] do_splice_direct+0xa0/0xe0 > [ 20.193185] do_sendfile+0x2d0/0x438 > [ 20.193345] sys_sendfile64+0x12c/0x140 > [ 20.193523] ret_fast_syscall+0x0/0x58 > [ 20.193695] 0xbeeacde4 > [ 20.193822] Free path: > [ 20.193935] meminfo_proc_show+0x5c/0x4fc > [ 20.194115] seq_read_iter+0x18c/0x4c4 > [ 20.194285] proc_reg_read_iter+0x84/0xac > [ 20.194475] generic_file_splice_read+0xe8/0x17c > [ 20.194685] splice_direct_to_actor+0xb8/0x290 > [ 20.194870] do_splice_direct+0xa0/0xe0 > [ 20.195014] do_sendfile+0x2d0/0x438 > [ 20.195174] sys_sendfile64+0x12c/0x140 > [ 20.195336] ret_fast_syscall+0x0/0x58 > [ 20.195491] 0xbeeacde4 > > Co-developed-by: Vaneet Narang > Signed-off-by: Vaneet Narang > Signed-off-by: Maninder Singh Acked-by: Vlastimil Babka