Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp966975rdb; Fri, 16 Feb 2024 00:41:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVRbZd8GrJIOuWMYPU+TM7h9oyP9WjiRtteOwTuZEP+W+rl3Z6+ThS9IaRurX00/8kPLYUI9+5UkhWznlpT/nkssvnLha68I0tWXMahYA== X-Google-Smtp-Source: AGHT+IFN1n0YidnuiJN/IIgafT9ZdYwqYPAB8R+iYJ5aiSiOOe39Cwv5EzwBwTrKc5r37A/T6oob X-Received: by 2002:a17:90b:304:b0:299:df2:66b2 with SMTP id ay4-20020a17090b030400b002990df266b2mr3986452pjb.22.1708072896818; Fri, 16 Feb 2024 00:41:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708072896; cv=pass; d=google.com; s=arc-20160816; b=hTrjnKl6S/o/K7JeRZ086fPSHiNaUtrJiI5OgQRpw3UTolbq4jRZku9nO2begky412 ceA3LBkTaMo3t4reMYT4mlF0gMh1/81dHcMnNTq51FkGxLTKD+Dd+Ov6ZMHAMS8TkwO1 3HRPq/+yQrqeuubjTBEnmazZyVgyeuCA40Tg2mCtDHJ4kgYZfXeOASxMUPMZYkCdbZap SAibxCuCddQTJIpHUD+HWUGmkmV/TGSsmDz2DloHaCC8ak0ZFcDthqKmXMywdlIo5LOs QZw9IMSBNUwPgNPHCGoUKpOXPYWn4JbB6deqOjNpbj3N1qy8WrNUjs/Nme/zBRVzrTO/ 0bVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:organization:in-reply-to:subject:cc:to :from:dkim-signature; bh=TX4bvbcO7qOs5Hovh4GeuvoihJmdj20LCeKuDIZoRKA=; fh=WZNRCURZhgNosWw2Wvm5MmSH5/7GXoi1FHSqo4VjCNo=; b=WjC2sW0fODa1t77s0bs8w6yC3owmGX0DdOgYBzCZp7s7eNMJN7c8X6i3x4RKDxJ/16 Fo7njskjLEmb6vvGQ5Dq2+CK5wtv0x2entUCa9oZ46egDlCBiTZTvSnfgMBS/E2ctorA 1dh/t1BfWKxLDTtHL8CUSEoeJgPiQlIhKjKUk6wF50mrWU7FQmbBi46SaV9tcLwPezrL CKcSwNkXgtjaw168gV0oWQ6uL4nkPTXrrykP3F5pEPtR1znLTp80Aqpbk7ZQXIEW2VBg vwDl0Bl6Sx9ftvjPOIFpmpr56HBoTrkeaJvjkftRklKM84JofuY3Avt6U7AO4/zN1kSK D2bw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Cog6cQBn; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-68250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id sc3-20020a17090b510300b00298fafc62b6si2834229pjb.19.2024.02.16.00.41.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 00:41:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Cog6cQBn; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-68250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7806FB2143F for ; Fri, 16 Feb 2024 08:39:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DBC71B81A; Fri, 16 Feb 2024 08:38:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Cog6cQBn" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F22BB17BBD; Fri, 16 Feb 2024 08:38:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708072708; cv=none; b=AhK5WkFPGn0hyMZ7MRKl9ju0cMkwZmQTJxMxKG2xz08iwnV3gwTlWQSPxTLm6f9K+N0hc3kIgbWq2RgiQI5EV4Ycl7/OhVSQQNhMVqRdM4ZsXLR0VSc1hpSfkzIwRHK5TaJGv9Q00nVHWBOGNiB4hwAlK2NxsZProSD/Bg9PQ6Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708072708; c=relaxed/simple; bh=HxOuetD/ZDxORTouQxar11u838Ki34k7zzeCS5xykLA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=M3AEWxZYtl3mgdoMs4b7hxHVWskIwtBXF4tazZ4A+VLIBPU0HTGLOBpUyKVoRBTuZ/+R6i3qFnrgXwkesPvJMR5NipNmZscvf4Ieu+OyhycdiRfkLOLkbj4HS8dyNsAi1Lu3Peq7nE/R+Q7uTC0AJyf9tvxBWEZf5eUPln76Nzw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Cog6cQBn; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708072708; x=1739608708; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=HxOuetD/ZDxORTouQxar11u838Ki34k7zzeCS5xykLA=; b=Cog6cQBne0fvT97EP9JoAJ7wDz2DrzrjuFy/NM1F1SnRSn14v8wEU8JD 6w1nv91347TY/t2Dp3b2ZSKTRGdVIKA62In4ecbOM0pugawpkdsQtxQdN rY2XKVO5SYYgy9eexCWcAzUGWU8+B5MKY9rwjXGBtFAT1C1W8hZ8Y1QsN kWYV/6C9XLhMxuRPU1gFlhjDngnSX37tAlMi3pu8GraS79fDfwB6nqf1+ DSTfzrIvYEdA1yfaeTTFhypqlM++Fxu5HGKwn/jybTVv6oGFe1j0Tc1Lm ZYPtAkWVzyh94VTm/oigBMWCKjFemnOkLPxW1CNcKx3wQFEvv1YNiOG0a A==; X-IronPort-AV: E=McAfee;i="6600,9927,10985"; a="2063360" X-IronPort-AV: E=Sophos;i="6.06,164,1705392000"; d="scan'208";a="2063360" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2024 00:38:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,164,1705392000"; d="scan'208";a="4144870" Received: from pshishpo-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.48.79]) by orviesa006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2024 00:38:04 -0800 From: Jani Nikula To: Suren Baghdasaryan , akpm@linux-foundation.org Cc: kent.overstreet@linux.dev, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, dennis@kernel.org, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, keescook@chromium.org, ndesaulniers@google.com, vvvvvv@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, shakeelb@google.com, songmuchun@bytedance.com, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, surenb@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org Subject: Re: [PATCH v3 00/35] Memory allocation profiling In-Reply-To: <20240212213922.783301-1-surenb@google.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20240212213922.783301-1-surenb@google.com> Date: Fri, 16 Feb 2024 10:38:00 +0200 Message-ID: <87sf1s4xef.fsf@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Mon, 12 Feb 2024, Suren Baghdasaryan wrote: > Memory allocation, v3 and final: > > Overview: > Low overhead [1] per-callsite memory allocation profiling. Not just for debug > kernels, overhead low enough to be deployed in production. > > We're aiming to get this in the next merge window, for 6.9. The feedback > we've gotten has been that even out of tree this patchset has already > been useful, and there's a significant amount of other work gated on the > code tagging functionality included in this patchset [2]. I wonder if it wouldn't be too much trouble to write at least a brief overview document under Documentation/ describing what this is all about? Even as follow-up. People seeing the patch series have the benefit of the cover letter and the commit messages, but that's hardly documentation. We have all these great frameworks and tools but their discoverability to kernel developers isn't always all that great. BR, Jani. -- Jani Nikula, Intel