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 8097040910A 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-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-86-igBK83kxO6ytvnjC2s6ZIQ-1; Wed, 08 Jul 2026 05:16:07 -0400 X-MC-Unique: igBK83kxO6ytvnjC2s6ZIQ-1 X-Mimecast-MFC-AGG-ID: igBK83kxO6ytvnjC2s6ZIQ_1783502166 Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-69841da1946so603831a12.2 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=B07LP7y7elUIoO/ALbT/Z3Afn8HtAS7IP7mRXGjjb52TCBtZKndfA0YycndrjWCJSY E314hWg+5dOouKI4IuH290rRu7Uh+GyCiUTpqCEpJ5AUETZgrHQFweHIrpnflSvl21UP PwZayKHiE7NJysUa/LUE9B3eM+rYZSkR3NZLGJE76vbFMtgMhBomd/N0GZ0pg132Cyhj 65oUx2bSMnLcRDEbOzo9vdr+QkXt0oAnhsDURt1TlnCSeYasx6PnacuP1Rz2TpSsfN15 NCiVjB3nQvyhlME+n51h/6stkQTeYqkP3KUhP5Hu/95bT0gyVEn8ECUG69ID3iOuZ+HC ISdw== X-Forwarded-Encrypted: i=1; AHgh+RoeZwyuor7eShZpbpYN3IIScxmFKY/v36HOkGVedn8EG15Y07GV/fnR1UkGB0WVNHiliw2s2563jjwgCOg=@vger.kernel.org X-Gm-Message-State: AOJu0YyFuWgS6pekMv4oB3kQw96nAu6zuDRl05Qs8FxH4i6ot9+aq59i 16mUsUY/QNmIKxqsnnb1FlYeysw/0xXwpi8k38LEhZnms3ISooxxoNvTiDOXIYeS1x5JBJZ3Wl5 Uyop7sgIGOu7Shhu649OUfLa0XvQDy4JQIh8FYmUcj8Q2ljg72UaOnT7SqqOJILxrQw== X-Gm-Gg: AfdE7cmUVa0AY5dxCXHK9qVFLDLDOQIZ/sGEFN6+aEl12TW1uZl5JE9oXh6SXVZACYh kuBv0t5ywCmTrnytYmzZHRGC9wdIa8UPeDFQLNh9KPOe54Rukz1Naw5EsjO37txonFcWxviHr2e OvQG73YPlRaL3y0z+887KoRZhIgZengYSx9pjNS5Kxb8LJeqhJDhERFEEbxoq+VPosKcZM7zAvx pUnBXrJ42J+vYkvm7lYjcQ5hdNZCghW3DeNGIokj4M/8pivgqHF0fbDJVLvQ6fV8+86alr7mcMS pyO6HcHz9wquVO5cbMK4XBaEdT2stALsI7dsZJiO3kQZaK12VlAvIcVmr8LCKZ5K9mX4OpR19fJ 5YyDGFVQlknfWVPvuso3uKtIwaq1QKof6 X-Received: by 2002:a17:907:1003:b0:c15:9709:fb9b with SMTP id a640c23a62f3a-c15ce0f880emr64100766b.44.1783502166151; 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-kernel@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