From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (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 391E54218B8 for ; Mon, 11 May 2026 16:04:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778515442; cv=none; b=QVGOsQHnR6aoZPnv6fvK7J83x3PcoyoQAksm75a3oY4eKgwhEefZ71du3ofrimZx+B5cuQ20wOCDCUQAUGVKMI5AiITLQMwKLI5bcpEFNHus4VHS+zUcYOJ0cYP/jUKeUczWw5CtQNeMedftcczKsYtcSINwGd7tof1fQCjtvxM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778515442; c=relaxed/simple; bh=ZOhCqyox8od94l1n2MQHg0B7xGhyCrDi4HynyRd67Cw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eLUApQ2j0L1jwcvdh5MB2ECDcBHHZtEJVP355YLIGs5zF6Ts/u20A2X59pola6V3iGV/HunE22g+Gkysn6gruTnGAfW49Wr4TiAAaX8pVO6unGd4WYFzVnKrxCvbUlZpQDm1puvr/xFY9HA7l/9fEYnLY7hZmnfioWiClnuG96M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=oHegg3FF; arc=none smtp.client-ip=209.85.222.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="oHegg3FF" Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-8e8c0c2d2bcso587299185a.1 for ; Mon, 11 May 2026 09:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1778515439; x=1779120239; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=dApXG6ORKOxT92uQJAxaYBkfzHSro0hmS5CsQzIt91A=; b=oHegg3FFuvbBYLh8idB7TqQo/6xW04liclWVOd+jIXJJ9MfvXfklOYVPjibttLJaA/ XJw/mn2S/qoPX6BGlbAy2d+srknsowk9rIQclXoxhX4OWdOrGWc6mrfbyRfG2GBovA5g mM5xSAjQHBNaNd2Oab6uxu7llY9Y4ThTSfYCpVeYBhRq9GSPgJCK23NrG046dXTISU/J p0cBz+2TVgOE9dVskkUKqULSsZQFH7b9NCf0X5m0KRf1var2kc6XVD85qZQaWqz+VrcM sxxVyzNm+S/ktOumZ9TtOS8qls1WyR3HHYD6OZwRFO3//6xdjO0Nd2L8qspxft2ZJ6+Y xXLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778515439; x=1779120239; 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=dApXG6ORKOxT92uQJAxaYBkfzHSro0hmS5CsQzIt91A=; b=JHZPpnKFfVhvObDbxpmY1dl0uVqTmX2dLcoyzk2qScglATa1st4hoAZOhAWCgVnJeQ GgRNn/5DiVCDnzC9VjnnoGaN9b/zk8gfsng3p/r5ZlNd5tjK0MshpO7hLiynxW3jxABI Ie45SaKEUG8F6ZzgO0uKiopQwCcI96sWkEWCtq2n7PyC4DsQgjw2ezj3h539glHvcGW8 5zf0cLZqMetE4775KfsB3ggtEDyuQC9Vk9/q2ipcfxgNDRhaofudIeSabHIwah59y9Sl UntTHzLjbH3jAoXjEhN8FnEReTJzZphpPT5llMrXigEPmm0kMHJC1Bk6TSVgWcy5Nj1X AfRA== X-Gm-Message-State: AOJu0YzW8yix3GMa8SOGfdkQ5/0TQThCSmAV5z96GM3vtqgxsIgDT019 ELbwFEfGPGW9PNRJtq6PI6ggw0CPzuIzRwZVO6w0BV4jm6hvVTf5vmdZ2n2Xfvc/MI4= X-Gm-Gg: Acq92OF3cjDMJD3zhn4dc9qImJRpUhzoTTklT9QJQRXVxlsaTQgXgZdvnZEJ2uLmX6x VJrbnl1efjtFsaApn+lqhF5s5Sfb6CtHXXm3ZZkqDAV+46zlRdozll2d/ef9F1g8CXnF4tBHexJ 5ohSHWEPP51CCYgYLpoeTrUm/8aPREXNZgemE6k71AEIfYCD7+xNrpjuMonziCQ+a+xB6N3sJL/ dWYlil8LZvJFesR/MJ4AIHVnirEph6degoU7cbdzyx9aavWkIEmqKilE+urhtUPH7+0gntvXl0m XUQ4pv+BIVtznh+21c03+fuf45e/71H3NCaw+Fo4+FKajVUhKzWqQwyPb49sHhC0bmQu4ff7hS/ lNpZa4ivvMreWVubx6yUDeQiAqtneunOYzLNS+LK3CUT0kUg9m+RuJqJqzj1Thr8OzGZ15IXi// c6huZsLxionZ196BMbIL2hnrmA0RGuvDAxwhuOGxu7ynTzwclEyfR4hsGcOZtoTqfITjIylrbqf X2wU3ZZazb0 X-Received: by 2002:a05:620a:410c:b0:8f8:c91a:212 with SMTP id af79cd13be357-904d3fa3d5emr3775977985a.13.1778515437606; Mon, 11 May 2026 09:03:57 -0700 (PDT) Received: from gourry-fedora-PF4VCD3F (pool-100-36-248-188.washdc.fios.verizon.net. [100.36.248.188]) by smtp.gmail.com with ESMTPSA id af79cd13be357-907b9c542cdsm1091199885a.0.2026.05.11.09.03.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2026 09:03:56 -0700 (PDT) Date: Mon, 11 May 2026 12:03:53 -0400 From: Gregory Price To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, "David Hildenbrand (Arm)" , Jason Wang , Xuan Zhuo , Eugenio =?iso-8859-1?Q?P=E9rez?= , Muchun Song , Oscar Salvador , Andrew Morton , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Brendan Jackman , Johannes Weiner , Zi Yan , Baolin Wang , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Lance Yang , Hugh Dickins , Matthew Brost , Joshua Hahn , Rakie Kim , Byungchul Park , Ying Huang , Alistair Popple , Christoph Lameter , David Rientjes , Roman Gushchin , Harry Yoo , Axel Rasmussen , Yuanchu Xie , Wei Xu , Chris Li , Kairui Song , Kemeng Shi , Nhat Pham , Baoquan He , virtualization@lists.linux.dev, linux-mm@kvack.org, Andrea Arcangeli , "Liam R. Howlett" Subject: Re: [PATCH resend v6 09/30] mm: alloc_anon_folio: pass raw fault address to vma_alloc_folio Message-ID: References: <96bbd5dcc37aed93a9b7733780bdcba4fdacfa3d.1778489843.git.mst@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=us-ascii Content-Disposition: inline In-Reply-To: <96bbd5dcc37aed93a9b7733780bdcba4fdacfa3d.1778489843.git.mst@redhat.com> On Mon, May 11, 2026 at 05:02:32AM -0400, Michael S. Tsirkin wrote: > Pass vmf->address directly instead of ALIGN_DOWN(vmf->address, ...). > vma_alloc_folio_noprof now aligns internally for NUMA interleave, > and post_alloc_hook will use the raw address for cache-friendly > zeroing via folio_zero_user(). > This patch seems rather far detatched from alignment change. I wonder whether this particular improvement should just be pulled out ahead to shorten the series. It doesn't seem like it would cause you too much churn? > Signed-off-by: Michael S. Tsirkin > Assisted-by: Claude:claude-opus-4-6 > Assisted-by: cursor-agent:GPT-5.4-xhigh Reviewed-by: Gregory Price