Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp209951rdh; Tue, 13 Feb 2024 14:33:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWp8JgD7vJGONBwOdbDr65rLczfRFCZn/gYiGlvYiX7fE1Iz8M5eBhUnfRZHyv0zlsc44dtzoZk0x+feOXUWJQ0tx17Ne0W0rfHgLWSOA== X-Google-Smtp-Source: AGHT+IFsmjf1G2bRbfpYUZ8tiBEU1/tG+lj+lnddWO6Fs4BiIBnDN/bAB25cGvzDGVNaRA7iZDUg X-Received: by 2002:a05:6a00:190d:b0:6dd:c3fd:45fb with SMTP id y13-20020a056a00190d00b006ddc3fd45fbmr728630pfi.24.1707863600829; Tue, 13 Feb 2024 14:33:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707863600; cv=pass; d=google.com; s=arc-20160816; b=TIkcupKsvRzJU7vw7ERJXM9K2oj9K5qj9/rkhjEtv0D3GpUIsVnKvZkyiemr1hwO5t zV2X9KvspGBrw+W+ZOdLgxSg2HOpYHk4M+t0nYF3ULk6fdLMgBphldQsGmPmsOu+xATf HUSmuf0bBG1sEo8MM4mTYzioAuxUcy+kvaUd3tPUle7yp2D2dp7OeTsY8ovREci4HMdr zYooxplslMY7GZsGUjuyo9zIWqibU4fpS1+3Dsj2EnBDq387+Q3u7XS6lbSmu1rN+dT6 nPKKD1WtN7A/2kFQod33C/q2f9IfBFl8h9acTfUJAdFXbRWWULddXr+jdvLrcXW5VurH vW9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:dkim-signature:date; bh=wx/MC+bC4jjIx0YLEQfGF9XmXIKmKElg0ARBnR+PN7U=; fh=b/G7C3w+tOBquG5Vx01TzT4Zn4lgPdAUkC3Y2/yJp+Q=; b=YS9Oluamqq8KSHNF01rbGWjffXX7Xdn1pe3L27Kag/2U7hJwOCbWz0cK/NoYDtzEGa H1siE2LHB+5ZZ+byFAO6oLrLJKU1pidv5RiMogbjeA4AnQBPCZlUxJJUS59aHEnsULn7 0Zk7h3Cn1TTham8YfFR8wDcPcWzsAEg++HrGwR0DGNqUXWy3LFgqMtZdl39Dvy3+FPHr 7l8gKjO9w1FiDbiOLeqCukj52IHmIld2T1WOhalqQ9UZa3aSRgKBjv4dh9H7ZQZRfmXY H4ttsU0O+tZ9Y8eFEi1mHxyuVEKxd2kKOf7kNXmOYszYvQB0F80DhImtHbWlA/WyuGVQ 0eGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=NkR1gNLT; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-64458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64458-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev X-Forwarded-Encrypted: i=2; AJvYcCXhtRMDmra9UCxhO4anG1ZZP2Y44b4QeilpT/BDUPAf4Z3v6RUqkd3EPFNUwVbDfiLS8XHcDsBeVev/awYX1ZLKt1ZBzLWcVU0wkPlLWQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fd30-20020a056a002e9e00b006e05b7bfcffsi7415184pfb.52.2024.02.13.14.33.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 14:33:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=NkR1gNLT; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-64458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64458-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 63B1C286FEC for ; Tue, 13 Feb 2024 22:29:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB3E1629E3; Tue, 13 Feb 2024 22:29:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="NkR1gNLT" Received: from out-175.mta1.migadu.com (out-175.mta1.migadu.com [95.215.58.175]) (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 A85E7629E2 for ; Tue, 13 Feb 2024 22:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707863359; cv=none; b=pcRU6VregrQLg1STohipf82QlUDzl+czjUUpyugNNU9D1cKtlU81GnmadnNx61rWLg/wtb6MkCPGiwzxbtiBsMv7KSqFSwRnNqMVO82FVVvTymKOgVq6FBPHVdxJRVfpm+dpIQQlzKsM0K3u/kjHIdFOV55hwv8Pn/9QVHzM0pU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707863359; c=relaxed/simple; bh=s+BcvKq+A48EUw1jpY7zV7egs67MQ2caE5VLt8B0MeA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SHQqKeNPR7kEzXfUB3jOdQI6fxyCKex/C0BUUVzBGBGPqsfTpFC9JmaKRi6nBiDy4iT7mzW+qR+GRM2HXabEwC1rwG85u02uNXljAp2G6j9XuhvhNAf+sRre2uMdA26G3kGKG0g4DMt1Voau4xgWixJtuOsXp22mr+GUMJjfBr0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=NkR1gNLT; arc=none smtp.client-ip=95.215.58.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Tue, 13 Feb 2024 17:29:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1707863355; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wx/MC+bC4jjIx0YLEQfGF9XmXIKmKElg0ARBnR+PN7U=; b=NkR1gNLT+RslhaXlT2mq+xaYEQdluCzm3dX/A6JCoEiHuJfxIoq5giPdBQiazQrbxW3d3H NAWI1FOS39F6bwgQHKcV40dBRXc+mP8riyFuX3w+XvU40iyQ62zvPPtotTap95Rpir3zAT qPzlJdKC0PPafov0tierh8SpKFGEJjc= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: David Hildenbrand Cc: Suren Baghdasaryan , Michal Hocko , akpm@linux-foundation.org, 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, 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, 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 Message-ID: References: <20240212213922.783301-1-surenb@google.com> <9e14adec-2842-458d-8a58-af6a2d18d823@redhat.com> <2hphuyx2dnqsj3hnzyifp5yqn2hpgfjuhfu635dzgofr5mst27@4a5dixtcuxyi> <6a0f5d8b-9c67-43f6-b25e-2240171265be@redhat.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; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6a0f5d8b-9c67-43f6-b25e-2240171265be@redhat.com> X-Migadu-Flow: FLOW_OUT On Tue, Feb 13, 2024 at 11:17:32PM +0100, David Hildenbrand wrote: > On 13.02.24 23:09, Kent Overstreet wrote: > > On Tue, Feb 13, 2024 at 11:04:58PM +0100, David Hildenbrand wrote: > > > On 13.02.24 22:58, Suren Baghdasaryan wrote: > > > > On Tue, Feb 13, 2024 at 4:24 AM Michal Hocko wrote: > > > > > > > > > > On Mon 12-02-24 13:38:46, Suren Baghdasaryan wrote: > > > > > [...] > > > > > > 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 suspect it will not come as a surprise that I really dislike the > > > > > implementation proposed here. I will not repeat my arguments, I have > > > > > done so on several occasions already. > > > > > > > > > > Anyway, I didn't go as far as to nak it even though I _strongly_ believe > > > > > this debugging feature will add a maintenance overhead for a very long > > > > > time. I can live with all the downsides of the proposed implementation > > > > > _as long as_ there is a wider agreement from the MM community as this is > > > > > where the maintenance cost will be payed. So far I have not seen (m)any > > > > > acks by MM developers so aiming into the next merge window is more than > > > > > little rushed. > > > > > > > > We tried other previously proposed approaches and all have their > > > > downsides without making maintenance much easier. Your position is > > > > understandable and I think it's fair. Let's see if others see more > > > > benefit than cost here. > > > > > > Would it make sense to discuss that at LSF/MM once again, especially > > > covering why proposed alternatives did not work out? LSF/MM is not "too far" > > > away (May). > > > > > > I recall that the last LSF/MM session on this topic was a bit unfortunate > > > (IMHO not as productive as it could have been). Maybe we can finally reach a > > > consensus on this. > > > > I'd rather not delay for more bikeshedding. Before agreeing to LSF I'd > > need to see a serious proposl - what we had at the last LSF was people > > jumping in with half baked alternative proposals that very much hadn't > > been thought through, and I see no need to repeat that. > > > > Like I mentioned, there's other work gated on this patchset; if people > > want to hold this up for more discussion they better be putting forth > > something to discuss. > > I'm thinking of ways on how to achieve Michal's request: "as long as there > is a wider agreement from the MM community". If we can achieve that without > LSF, great! (a bi-weekly MM meeting might also be an option) A meeting wouldn't be out of the question, _if_ there is an agenda, but: What's that coffeee mug say? I just survived another meeting that could've been an email? What exactly is the outcome we're looking for? Is there info that people are looking for? I think we summed things up pretty well in the cover letter; if there are specifics that people want to discuss, that's why we emailed the series out. There's people in this thread who've used this patchset in production and diagnosed real issues (gigabytes of memory gone missing, I heard the other day); I'm personally looking for them to chime in on this thread (Johannes, Pasha). If it's just grumbling about "maintenance overhead" we need to get past - well, people are going to have to accept that we can't deliver features without writing code, and I'm confident that the hooking in particular is about as clean as it's going to get, _regardless_ of toolchain support; and moreover it addresses what's been historically a pretty gaping hole in our ability to profile and understand the code we write.