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.129.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 1FE973590AE for ; Thu, 23 Apr 2026 14:46:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776955606; cv=none; b=dla+Ra4u4vA/it32DdY7hmwhjq4jPdrt78u/iiIDKJ7GCasMARb9WqR7JddRynJ3CLgEIfmJcDqmUmQI3YQT8/dFGpWFZ4Q0SuOjAy1d5VsusqUkyJm+Fk/7hP4aQsY7A45KrBPcCAMyYsEILIbv3jq9MqFQzGRMA+3UrGVc4uw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776955606; c=relaxed/simple; bh=FVJvwM5KEFZLpNLphp/KsAxO7UvuDFjnyOYTqZVS/Tg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: In-Reply-To:Content-Type:Content-Disposition; b=BL1P9BqPQlF/+h05yz5swq+vh78b8vAIFcmBH3Y7VgklOxd7Utjp/h3m9Cp4bz8zBzwb2Tlqp44JLVAlrP3BnqvB96rVFPvzSHpD/0ILjE4maYCkgaqI0LD8fNNfZ9H05jre7Awegi1OOKi05QGhikeLgCxcB79ZIKQu4GvRVfs= 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=JJrHBp1v; arc=none smtp.client-ip=170.10.129.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="JJrHBp1v" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1776955604; 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=l8MfwEpFW90pOYwmA/usmJLfbbJthitR1+FeR/wvevQ=; b=JJrHBp1vvZqx8y4oj+Mm37/zXNiW/9eqa6I53poZSxqFnfFw52Sgx/kNhWwEtAquP39VUt PFTQXNCJP8TaadVpbVayHf+67K5gXEk0BIr0+J4ckS7ypaM6ZRBy9rEkA1SYLB75q1jx2s XLkkivgkUhl2xBtaIR2g1XQeBdCElrA= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-295-WUuZWqrfPOK7EP_IY_5Ltg-1; Thu, 23 Apr 2026 10:46:42 -0400 X-MC-Unique: WUuZWqrfPOK7EP_IY_5Ltg-1 X-Mimecast-MFC-AGG-ID: WUuZWqrfPOK7EP_IY_5Ltg_1776955602 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-488cc31ea57so52769405e9.3 for ; Thu, 23 Apr 2026 07:46:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776955601; x=1777560401; h=in-reply-to:content-disposition: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; bh=l8MfwEpFW90pOYwmA/usmJLfbbJthitR1+FeR/wvevQ=; b=lnkl7i3h0VHss5vt+ZN6SVGjKoz2ItzUPjSTTstAwpfrQiy7N+RA0TTx07P2/HJ3Fw U4lhH4kDMmGy/wIg2jxvFf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5b1f17b1804b1-48a52f2a5f0mr200255835e9.18.1776955601370; Thu, 23 Apr 2026 07:46:41 -0700 (PDT) X-Received: by 2002:a05:600c:3553:b0:48a:52f2:a0f1 with SMTP id 5b1f17b1804b1-48a52f2a5f0mr200255085e9.18.1776955600835; Thu, 23 Apr 2026 07:46:40 -0700 (PDT) Received: from redhat.com (IGLD-80-230-25-21.inter.net.il. [80.230.25.21]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-488fc100162sm540787515e9.5.2026.04.23.07.46.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2026 07:46:40 -0700 (PDT) Date: Thu, 23 Apr 2026 10:46:34 -0400 From: "Michael S. Tsirkin" To: "David Hildenbrand (Arm)" Cc: Gregory Price , linux-kernel@vger.kernel.org, Andrew Morton , Vlastimil Babka , Brendan Jackman , Michal Hocko , Suren Baghdasaryan , Jason Wang , Andrea Arcangeli , linux-mm@kvack.org, virtualization@lists.linux.dev, Johannes Weiner , Zi Yan , Lorenzo Stoakes , "Liam R. Howlett" , Mike Rapoport , "Matthew Wilcox (Oracle)" , Muchun Song , Oscar Salvador , Baolin Wang , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Lance Yang , Matthew Brost , Joshua Hahn , Rakie Kim , Byungchul Park , Ying Huang , Alistair Popple , Hugh Dickins , Christoph Lameter , David Rientjes , Roman Gushchin , Harry Yoo , Chris Li , Kairui Song , Kemeng Shi , Nhat Pham , Baoquan He , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH RFC v3 01/19] mm: thread user_addr through page allocator for cache-friendly zeroing Message-ID: <20260423104120-mutt-send-email-mst@kernel.org> References: <9dd9deabd42801f3c344326991d1431c3d8db39d.1776808210.git.mst@redhat.com> <20260422171315-mutt-send-email-mst@kernel.org> <20260423074433-mutt-send-email-mst@kernel.org> <88b0765f-7cfc-4e44-83d2-c01a1755c842@kernel.org> Precedence: bulk X-Mailing-List: virtualization@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <88b0765f-7cfc-4e44-83d2-c01a1755c842@kernel.org> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: O4L8Sahk5tPupkeTHnNrxLg8UHcpdiudn2YV-7fpEvw_1776955602 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 23, 2026 at 04:13:50PM +0200, David Hildenbrand (Arm) wrote: > But really, that hugetlb code is rather messy. I'd vote for leaving hugetlb > alone on a v1, and focusing on non-hugetlb first. I just dislike it when things are non orthogonal. People are used to: hugetlb = same perf as THP but more predictable at the cost of being harder to use and using more resources. Here, suddenly, we have an optimization but only for THP. But sure, we can merge a part of it first. -- MST