Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp209445rdh; Tue, 13 Feb 2024 14:32:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXvjJksxXLXTmY293dP9TZq55qiZadnQNQ9Gdh1RcDqaZDRLzDNGRMF0HAKl++itthqXpBu8Di/XnRMtwT4udQqeZ3LffS+Gp1ZNGFosQ== X-Google-Smtp-Source: AGHT+IFZ6puE2eUclT33c57AXIXm1I994qP6xzTtVoP2bI8CBPDZIj4ST4d3rbWNT5h0meD5N9cF X-Received: by 2002:a05:6870:3755:b0:219:7eed:aee2 with SMTP id a21-20020a056870375500b002197eedaee2mr795191oak.3.1707863528636; Tue, 13 Feb 2024 14:32:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707863528; cv=pass; d=google.com; s=arc-20160816; b=v9Om9rcKxVXaKFNJXXJ1Qy9rv9DicpOMPDNE1Xfx4iYdqGhBKATGIY92XziCKAJoKe yTJXXjReLX/bTOe93uxDzIN9X9OQWSpbhX+M3WfacweHRVl2pS4daW0kCcJ4j1QuvVLq X3pU/pUTGP+u5dBAxVKsSk3k+FCVDBW6O8KEht0OuhGATei+RIuHGZPtoAYRhXR1TR0H WVFCugnX4RyhLxbyVrteOvkLoDffCGxHjUVpyl+Ny39y9zZGbCaCFDJiO/eVAVnSTzar O0c8Fo2q0Ffzc4BAmQxVD1+QtvNyw7UOfdZK38ORSCZBOtZ8+h5iiXbxa63c4KQ2hxtS S66g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=W3iVhRNI3SJOZTKFO/V2hJvAlU1SxV9FtnbmB6rZ05w=; fh=HyFD2i1RrbL/WJQP9dmO21XelNbSbMTtUWR9NgZAkdQ=; b=Mb7OqlB/bdvFWfW1VNdoUe5S0GVfCACeScBePJZLHL3+8OFXaaXMXP5UI8TQvIZ9/y tWb1Uh2Ks/36asgGMZ7d6WF1+SmCtcabdHxsMMg+AiBL5HAsAsB7mcxQiaiZTEiHhw4V rU74eSK5hGO17c9QgFx80TLL4lw6e5DeJ63T1PjlYqwam43tI0lI/mQ38aAnIp9/GIID 64JOpxnLGXf6rMrPt/A05n6odPXVMt7M/M60O8fydxThnIIF7cDzuEzcOI9mlUd0dE3/ DrhVyOVGvuDqR5dofPpFvmFlqDU1/yCqNb+RIwR8jWyNaRoUVjTXx03pU1BFKRMKOiO4 vY9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=XUTz5o3S; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-64461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64461-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com X-Forwarded-Encrypted: i=2; AJvYcCXjqHS5lSe2ujMzQmlOR9Azd8emUVb/ap1x8zjuLTlj7KUEUslWZyNiAU5XzL9AGuYoaPyUVMMFLen+19fY57P5W/TTvJl+2twQBg3egw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v4-20020a05622a188400b0042c59340e59si4293033qtc.598.2024.02.13.14.32.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 14:32:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=XUTz5o3S; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-64461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64461-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C9E841C28953 for ; Tue, 13 Feb 2024 22:31:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A6F6329A9; Tue, 13 Feb 2024 22:30:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="XUTz5o3S" Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF48464F for ; Tue, 13 Feb 2024 22:30:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707863457; cv=none; b=mQkNjTRa+gwHifcli1jRCK92wwCqn4uDN7JmrXQn/XNHG32UFYOEeWCHlUTTfbL1mr7uw/lbTKimexF2Di6s9EBz1joiD9Zi2FxxnENBrwGQWn8p5FmJfBIqkYCaVzUdlmfofnNXKW/AxICBonQsupWR0DRSSsH/J7cCDKp4yOk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707863457; c=relaxed/simple; bh=W3iVhRNI3SJOZTKFO/V2hJvAlU1SxV9FtnbmB6rZ05w=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=VKoot57oHCn5S37S9Ddi+R9CxTDGDi+nzsxSMgCl9qKdT6idbhwEe+bJFiOLqriNMe1nuUYq2V3ye/viUfriHyAASM1dA/4r+njtnRoOVGz4MzqbWDkVueDD45MZROKfj9IgUP8PAri/W63XDMVXPOBFbo9DsCjMyG5Qe2mFS+4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=XUTz5o3S; arc=none smtp.client-ip=209.85.219.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-dc742543119so4203107276.0 for ; Tue, 13 Feb 2024 14:30:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707863455; x=1708468255; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=W3iVhRNI3SJOZTKFO/V2hJvAlU1SxV9FtnbmB6rZ05w=; b=XUTz5o3St2k+c67e6r84lL+FM9cwVhsuZsKZLNPusg0EqRzW+KJKjVThZvxdkHGjHH YrVVpfl353pSZRfn8wqNfz2oBdd7LsX3vn/jpCLtI0gro3uYcVj9Y5dcke27uqm/Yq6m xejOPVpFiiAuLHS4mMi31zFqs5utjqA780dBqQHZ02cfigogRjh0KwtqIy0GsPjdv3Vm cbMJdvDi8Y/DHnJr55bdq2IvhOwRICXLsTmA6klzON6BBg3GdxNGHJfPMYoPtCWcLtC2 3yU09KRaasRMXpr90TU4Jo+Plyvauunl1qIQ24bc8KBw9b1YiRtamW9m28ANfLroFxF9 dBog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707863455; x=1708468255; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W3iVhRNI3SJOZTKFO/V2hJvAlU1SxV9FtnbmB6rZ05w=; b=DcdW/irETDBzreOrWCrLSINRfACrK9XhKomlRD7flvS++sEPzQXSpw15fzHZfg3+yY 4PNNW2X8QvVrHlOZGj0AXyIMDPTUhS/6lWwXE1fS7tMlKnzwUwZSCmIG8V3D2PrnekDA HrmZIpGuHeHepAR2mnX3eJ8pKzLtnxLgz1pjuVThJSrwtGqE37GRbFZybWZesqExuGpZ Eztt+ZoxMxak3Ea/DEZ0mRlRy7h1zhx18DMLJ3tBj1cvrvMg4zu9NvShtHJ9rlFxMoLn 9wuzoPxuPWVnprCmlm3+rQdk+b+42jMmwCSMBEtTJdNtW3nOCKiNJhxPr3ANrRMt+Mmp 5ZOw== X-Forwarded-Encrypted: i=1; AJvYcCWeUQvIR9pc9cRngyAZnnT3+p8KxhvONFx8hDAelndOGB5+V+Oeu6gyDFhFdSWod5wUtAS2eI9WU+PfCu4JpipvbOnH9A8OT0mloPLE X-Gm-Message-State: AOJu0YyAp2+8IPLshzxCxoSrT9rJiQx66YBLugjve+1S3WHELptFMhyQ QUd4jinMIVW8h6wofYlMBGfWNcd4vK5PAZ/2V0mkGZhkIWOREc7RXitfdzgoMpdUhv0d8btgvGZ k4+7gPm8M+uKKBnJob6jfmn8/BpxiPvdKkSfK X-Received: by 2002:a25:e0d2:0:b0:dcd:df0:e672 with SMTP id x201-20020a25e0d2000000b00dcd0df0e672mr440832ybg.47.1707863454566; Tue, 13 Feb 2024 14:30:54 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240212213922.783301-1-surenb@google.com> <9e14adec-2842-458d-8a58-af6a2d18d823@redhat.com> <2hphuyx2dnqsj3hnzyifp5yqn2hpgfjuhfu635dzgofr5mst27@4a5dixtcuxyi> <6a0f5d8b-9c67-43f6-b25e-2240171265be@redhat.com> In-Reply-To: <6a0f5d8b-9c67-43f6-b25e-2240171265be@redhat.com> From: Suren Baghdasaryan Date: Tue, 13 Feb 2024 14:30:41 -0800 Message-ID: Subject: Re: [PATCH v3 00/35] Memory allocation profiling To: David Hildenbrand Cc: Kent Overstreet , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 13, 2024 at 2:17=E2=80=AFPM 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=E2=80=AFAM 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 fee= dback > >>>>> we've gotten has been that even out of tree this patchset has alrea= dy > >>>>> been useful, and there's a significant amount of other work gated o= n 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_ bel= ieve > >>>> this debugging feature will add a maintenance overhead for a very lo= ng > >>>> time. I can live with all the downsides of the proposed implementati= on > >>>> _as long as_ there is a wider agreement from the MM community as thi= s 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 t= han > >>>> 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 "to= o far" > >> away (May). > >> > >> I recall that the last LSF/MM session on this topic was a bit unfortun= ate > >> (IMHO not as productive as it could have been). Maybe we can finally r= each 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) There will be a maintenance burden even with the cleanest proposed approach. We worked hard to make the patchset as clean as possible and if benefits still don't outweigh the maintenance cost then we should probably stop trying. At LSF/MM I would rather discuss functonal issues/requirements/improvements than alternative approaches to instrument allocators. I'm happy to arrange a separate meeting with MM folks if that would help to progress on the cost/benefit decision. > > -- > Cheers, > > David / dhildenb > > -- > To unsubscribe from this group and stop receiving emails from it, send an= email to kernel-team+unsubscribe@android.com. >