From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.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 E53423D667D for ; Mon, 11 May 2026 16:26:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778516787; cv=none; b=mZiyhUS7JpsogzAMztnf3xYyrmSabSK/TG8K+nEEk1+ARAQ8J2jOaOIYzQ0wkyk+CL4DBIZw5BNhYXeOCnReWn+ts5nnoKPleALPUF0U8pl73Wx6/WywT3Sb4jwnZEGOv7tjb7BPTAL07ZITv2lwBZIXg3rQgS/pppZCSDBAQjE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778516787; c=relaxed/simple; bh=BGuKCJKu2Ze2cpCK7EZk9megGER4Jsu0/UhoeukgwOE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jqetuzcBhpep0tS2QhR1B6DoPUNBxN5njturXvyU1BmWRE1vkgM0/4i3p/JLlyNoNls8OD3w9KDQjStiHcmhhXUiaw+wCQh+mtqUuujMIyi5kRyMdlOY1NtGehn3eqejJU8Ey+zpRzX/93Eh4yTuziYRoT0jkcRi/HQ7MObolAU= 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=n1gQIeKI; arc=none smtp.client-ip=209.85.222.181 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="n1gQIeKI" Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-8eea23d01f7so606036285a.0 for ; Mon, 11 May 2026 09:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1778516785; x=1779121585; 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=Hqw8rV27s2rIaaJU5shbxCCsz/N1fl7ypBY0wN8aHj4=; b=n1gQIeKIvjJDb6cy1CvkWULQRaPVgq4np/BFM8w/c7YC/FKdCh37k9H61vGRQle6WI fXN++lmt7puOC4Z6RJ2osrL9+j6VXl2VIklRdjeJzJRGt7PHtm3nbBxjMxg8P6Xaagwh U5PsK+bCmp2zkRNB3j5nN6nPUOgHpP2Fw8ehoh+JCp+H8R0dkY4kqU3xEogmbbVPUttO KwMfyk3RPzBL1t4XzZdxvjYOxmRM7yLIyRKDl3o4GodKP8ptxStLSAtnnjWukR7PWq7H YnW9HdHad06Sl15YvYGzRM4uizRmFL13HE1fhfpZSk5PAK6eLtkdX7+q31nKny7T7Jx9 0/mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778516785; x=1779121585; 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=Hqw8rV27s2rIaaJU5shbxCCsz/N1fl7ypBY0wN8aHj4=; b=KPrCaDftdb39h471hJEqTr2xsVcvqYzrVNtix0mLZ4ZHOVc338OYQn+AMQ9K1jvme/ G+T1cFRNWPJ580WH61zqrOUF8A71BYAv6wxk0sJ6/q4vf+B9yDbIVWhgnADRRQ0xMw1w rfrG5B6LHlPZol+WRDoEi+2PuTR7Zk0BuCk0XteBQ3FGWLZXJzuIaEZS8yvz21y9OfmS 7w0p8CKrq6YBsmZsgazdCcqzr+P1J8Q+zly6cC/1DMls+6cTEw/8qm/5I3C0bsijFBgG Y7yzTdFiH5uSO61E+QB9KKESr53cdFGw1ID7O/Hp6TFnILAfRFGR6tAAuuUWwBOIpIN4 ayhA== X-Gm-Message-State: AOJu0Yz8VBZOZBnEDFDCoipvLMkt+i0D22V+qwOxGMbPfqJVFnhwheXz 2jF0rPEy/VJjtthRuEzxYBY+gmhXkf5FSXH+bRCCpzsWD4cq2oTqiTn8WgMdJA1ES+0= X-Gm-Gg: Acq92OEO8IVpW8lbi4wvdfzabNsL672GfgyelAM+n76YRdQD2makB4gqFuXX2+GUZQr ZwZnRi+ImYfXnaVVXHwN/MJYx2LW08ULlgPUvAN03Awi/cox29fgD/CHrLDUgpUXFet0Gu+FZLn 3GxdrjEB6yDohSORMn3F73oH/aUBeA6QhIHFwqjbXi1xeE9uk4erZGr/NDei4ZHfOaYUuZk9SFD g4z241AEDfP7BCKUmsqLWe/+VLkk3lFv46/SqyLYu54p48AXtz5OWCSVUmkFHq0/PjS6o1hi2dO HF45LZeor7Mau+wgFD8xoZbOcCWTx12R3r0/hcMf3+Dk2NCTR1zPFRetkH/n34/OOX2yrwmAUUq N3NS7Ehf+3xh6ezIeYeuWw9Ad1Nj7/8gwMMQHgAyaLchxnVoIe5Gso8Wgph0zZTsbovdQ/3a1d1 emcGMMvzUUPQm7pvqAB6QB9jYyK9zfOjjE08tL/p4YQigcoJf8qzd1zz1F0qDvGK2/sEZbkq2RM qe7VNvyPzjo X-Received: by 2002:a05:620a:25d0:b0:909:e4dc:fb30 with SMTP id af79cd13be357-909e4dd008cmr1293290885a.38.1778516784603; Mon, 11 May 2026 09:26:24 -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-907b9772b87sm1059935485a.5.2026.05.11.09.26.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2026 09:26:23 -0700 (PDT) Date: Mon, 11 May 2026 12:26:20 -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 13/30] mm: use __GFP_ZERO in vma_alloc_anon_folio_pmd Message-ID: References: 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 Mon, May 11, 2026 at 05:02:57AM -0400, Michael S. Tsirkin wrote: > Convert vma_alloc_anon_folio_pmd() to pass __GFP_ZERO instead of > zeroing at the callsite. post_alloc_hook uses the fault address > passed through vma_alloc_folio for cache-friendly zeroing. > > Signed-off-by: Michael S. Tsirkin > Assisted-by: Claude:claude-opus-4-6 Reviewed-by: Gregory Price