From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 80A0D409127 for ; Wed, 8 Jul 2026 09:16:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783502170; cv=none; b=OqW2lKoKN92oc7yS+w9J8qe13LFj6XB6IM2cVjy4Z5ujDB2a3fnm4D3Z+sySDvShVcwc0wjy93lIeGesFzr8cg/KrA5JhzNWPy2b9nAdYkqElqM6c38BkSDuEzcSvZbXb/lm3Jn/0ETP/Dbuhh+DuhJ7PpWqRAYXOJB+004J+VQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783502170; c=relaxed/simple; bh=sQOlJyYK7iAm5eS9zDGCitM6vWVm4bMYnRlB2QL6l8E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UY9ncJwX9kYvxkLHrOaXh5jiOs67zY7mSWEHjFBwDv3XeSDNnp1Eln/b1iJKUonIpR08k5FWkWoqw10QeWLVrayrztYxGLTpuaMAirmZQINCZzfGhV1c1R1dchAYHFsbZLLqPcSYdvAXukEp8twnWoz0+DQbly+QjhvWMsShp5U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=LGjEPZee; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=PoTPdlpW; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LGjEPZee"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="PoTPdlpW" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783502168; 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: in-reply-to:in-reply-to:references:references; bh=b4K/HdwkKVaSF1+rIVNyQiESO9vsDqggAz/6RtbS1nI=; b=LGjEPZeemMuviSF8/bhZlfMQTgmkFE+YUdZqkODW5rQPn7C84+mM+ybu9UAzNSmVdnMRv9 XpuK55P/d2vf4Ku14X/yVVtM10YwR/GVrqogheNr2YMNq4EepfAfu99AbrLaI3VI6J5Cfv O6oT1mSLsB6LyChaqjF0HflLVFJY+2E= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-230-_jvL1qJNMnS_ijoPufbe9A-1; Wed, 08 Jul 2026 05:16:07 -0400 X-MC-Unique: _jvL1qJNMnS_ijoPufbe9A-1 X-Mimecast-MFC-AGG-ID: _jvL1qJNMnS_ijoPufbe9A_1783502166 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-c15cec1ccb6so41586966b.1 for ; Wed, 08 Jul 2026 02:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1783502166; x=1784106966; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=b4K/HdwkKVaSF1+rIVNyQiESO9vsDqggAz/6RtbS1nI=; b=PoTPdlpWkuUHRNm7Ix5YIE4eUzJMeeiOHmm5qyxDErRjPOaCyC0WPG0ikKKbTxIsc2 7/uPna9Ibuy/sK+WMbv+bZvg463MdRkWlrmtRy0s88APevASmVlSFrCGibNadHOj/jSQ ghMVAGozWSjO3RhxTXzeFaee9IuI0c76tDhheKn+c33VTz7VHOsXChgl6dAcBjPzM9vm 39R6ZHFDDuJo+3Ypte1XFPlpPgn01PFKyYMTZ3fXoEFq7lqmcjetG8M4LVJriU1JLkli 89j+wjYNOs8SaIRTwfizG4mFLe3Sx4tp3yPBe298LpciCmJidDhE0FLYOUUhvAu4Xjcw uMdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783502166; x=1784106966; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=b4K/HdwkKVaSF1+rIVNyQiESO9vsDqggAz/6RtbS1nI=; b=pYreqeEJRtkqvvbtHbr9ovL/cBXpAL2R7RkXRaHwRj3YFMcQpgda4HirATemE7YFoy R3dF/KbmAnGfvIrUag3MpxL1PMH3dD3TfypHmW8H4Dirqdw7jQKj5CnFXAjssaLKGVgh OySa9VQlojNh3D8UkPr++dpynLoVgrRilirRaApCcw236O32aIm49zk1Z1EVPLoQ4CHB 5iaE7RBkKshGrfupzPrlTTvtWdamRcMy79dQ9E44ptxuu7pHqzag8R8QY6jM9/vq2IFv UAl1w55ync0ppnGOfgU6nx/XJZIdyLLbBgVNHFPUZz0tZX96mzGKraT2j47WJy8zQzXy AKYQ== X-Forwarded-Encrypted: i=1; AHgh+RoGxSD0HAC2LdIcC5kWKDOV5XTkKcGFsukdWKNhGWCo9R867eCaqlv72JQWcA3J/F9wQdohSrcf1rI=@vger.kernel.org X-Gm-Message-State: AOJu0YzbsThrMHo2eRrOEw1xjpFoJHo5wKoOy1BJDv0cNk+KM721jhrD mi6J/OBsOnZZ8GoACzE9NTM8Z8bYIgVrCljiB9HwH2LBzd7ShPB0Zj4cV3RcIjLL22AlVl45DVf 8d4iRSn7+vVv9jaVeEYSQKk8MJJpRKEdS9gIpb1wi0r/r8+pR735uA2OhzCJmug== X-Gm-Gg: AfdE7cmagDN5JDmuPmk13Zn4GtnmBAH00XC+Gsdut/PVFyD7qrmS4EpZPar32b9PxfM mf6KvAYkradwIvWceWXdey3B1dTLzc5SI+5WQ6nJUs38fD3EDsYwp1Z40xAxRxKzvKZSyLKmfqA 2cg38WcaP2itHCq6hrg5CYyoj1XXCZOLCaCVMPMUWeYLDra/NtT+XhrU/p7F+s1xuR7YEzgntiD toF4Ld5iaDUy/ixtPO3+iJcvwMpEAHpKChJjT7+S6RwyyflL3zWK7mDxfum6WI+NO1WM4OZeNDX yAaiu6bAz8Aryf08FoLMWefID2hsMZu8jXETAwZAlpL7hozIXafLUhDsith5eOhXkfRixmCnVyN umJ7VEYGJxEQaf2XPSST4oP18Y0NpzW6g X-Received: by 2002:a17:907:1003:b0:c15:9709:fb9b with SMTP id a640c23a62f3a-c15ce0f880emr64102266b.44.1783502166172; Wed, 08 Jul 2026 02:16:06 -0700 (PDT) X-Received: by 2002:a17:907:1003:b0:c15:9709:fb9b with SMTP id a640c23a62f3a-c15ce0f880emr64098866b.44.1783502165600; Wed, 08 Jul 2026 02:16:05 -0700 (PDT) Received: from redhat.com (IGLD-80-230-68-31.inter.net.il. [80.230.68.31]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c15ad9bca25sm286808266b.35.2026.07.08.02.16.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2026 02:16:04 -0700 (PDT) Date: Wed, 8 Jul 2026 05:16:00 -0400 From: "Michael S. Tsirkin" To: Lorenzo Stoakes Cc: "David Hildenbrand (Arm)" , Sourav Panda , muchun.song@linux.dev, osalvador@suse.de, akpm@linux-foundation.org, liam@infradead.org, vbabka@kernel.org, rppt@kernel.org, surenb@google.com, mhocko@suse.com, mhklinux@outlook.com, fvdl@google.com, gthelen@google.com, mike.kravetz@oracle.com, pasha.tatashin@soleen.com, rientjes@google.com, riel@surriel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [RFC PATCH 0/6] mm/hugetlb: Dynamic, NUMA-aware HugePage Cache & Free Page Reporting Message-ID: <20260708050547-mutt-send-email-mst@kernel.org> References: <20260707064235.1386552-1-souravpanda@google.com> <9624988a-366e-4884-9408-3f3b88c27290@kernel.org> <20260707062428-mutt-send-email-mst@kernel.org> <20260707095843-mutt-send-email-mst@kernel.org> <20260707152755-mutt-send-email-mst@kernel.org> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Jul 08, 2026 at 09:26:18AM +0100, Lorenzo Stoakes wrote: > On Tue, Jul 07, 2026 at 09:46:14PM +0200, David Hildenbrand (Arm) wrote: > > On 7/7/26 21:32, Michael S. Tsirkin wrote: > > > On Tue, Jul 07, 2026 at 07:46:28PM +0100, Lorenzo Stoakes wrote: > > >> On Tue, Jul 07, 2026 at 10:01:55AM -0400, Michael S. Tsirkin wrote: > > >>> > > >>> Fair enough. > > >>> > > >>> > > >>> Lorenzo, do you know *how* you want it reworked? Could you write it up > > >>> at a high level? > > >>> Because if not, it's not really practical to make it the asking price. > > >> > > >> Michael, you're an experienced maintainer, I'm surprised I have to tell you that > > >> the burden for that lands on the submitter. > > > > > > Oh sure, "fix bugs A,B,C before you add to this mess" is a classic way > > > to actually not end up with even more of a mess. But I usually do try > > > to be explicit of what are specific issues I want submitter to address. > > > I don't really feel figuring that out lands on the submitter. > > > > Sometimes it's certainly easier. With things like hugetlb there often just isn't > > a feasible way to integrate it nicely into core-mm. It's just too special. > > Yeah exactly :) once you reach a certain level of 'specialness' it is more like > pointing at a flaming trash pile and crying ;) > > > > > -- > > Cheers, > > > > David > > Cheers, Lorenzo Well as long as I'm not the one being asked to put it out ... it is just hard for me to get motivated to do cleanups if there's no actual bug to fix, or a feature to develop somewhat proportional in size to the cleanup. But for example, and without calling anything trash, after poking at memory-failure.c, *I* want to cry, because either there's multiple races, or I just don't understand the code. Some of these we discussed here already. It seems to boil down to the fact that when people start getting lots of these errors they rush out and buy a new system, so hey. But maybe with RAM prices spiking it will become less practical. I'll put together an email with a list later, maybe. -- MST