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 1CC9837DEBA for ; Mon, 11 May 2026 22:02:16 +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=1778536938; cv=none; b=fEuWgfHQrs1HQuf/I/DA9ST4ifkcjM5ZW5VqNLZu+MzmIktm6Ea8LhrczZ8YWJI5puOYOEVRgdMkPIrJflxseFN4Ek1sKhXWJq4KbbJDTJSNOG2OwYB8WKBSJxADLIcsZiXdF1mKlJ80Ohk7Gr5qMUrjmBu96J1si3hL7VEs7Q4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778536938; c=relaxed/simple; bh=0E8D3kXGWa1CK2OkvFiF5AfugnJch9kKBYGtLoNzmsM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZYC/AXhEn9L0TCZFsVuqAnhhkWEzqJuudQFD7dB1N+XRWO6bYzHu+IQINrNR2u9WTuxAJflkeADHLF//3ORzrxBPzs3aM4QsTZTYwHrym3zI/I+HL1RCy+Qqq/pUl8Q+yje/Ajhah1f02B37M6rOB61Gl6VikAEfG4ce6K+QBwo= 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=dbEGeKC6; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=ihPxLIwG; 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="dbEGeKC6"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="ihPxLIwG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1778536936; 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=ik2ijbC6NTpwxKezKUy+hGJC+FJRCeUEYZIMUAfimrQ=; b=dbEGeKC605yBsNhYWkn1Z7cjM2L6/Vlh4jOIPYYT7oDLyXFRho5Fi0j2H+eaVkhxHgu7uK c7Ze9KyAzjpBPGyDVAwXKlbfyAH2ZHyz5Zhpzmmoc6RQMVL+dABMGU0wmNRYTbVR17nFPN cZgE3UbAllFzeArI3rgFKW7miqEanPc= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-542-zx2ygnysNluqdtNYx2A2ZQ-1; Mon, 11 May 2026 18:02:14 -0400 X-MC-Unique: zx2ygnysNluqdtNYx2A2ZQ-1 X-Mimecast-MFC-AGG-ID: zx2ygnysNluqdtNYx2A2ZQ_1778536934 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-44cc3c9b2feso4524245f8f.1 for ; Mon, 11 May 2026 15:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1778536934; x=1779141734; 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=ik2ijbC6NTpwxKezKUy+hGJC+FJRCeUEYZIMUAfimrQ=; b=ihPxLIwG8ABl0Fyf2QUBKwZ4pStTk9saSZHgzJQiB7xAnQ7G7JIexG0t8S1bXMHVz5 9/ujVWgpZLmx30QNZxgphiEsOmGjQNf9+vxfYFDTWltRytrbvnXljcWaqvKIRvxle/OI xjGX8kqF/moGcHhB/9g7pAY6lXhX8El/iViYGsD+cMLjan8l8vBgCGJfDG4rf1vChMcQ 2WfdHwWURgeA/cwnVCTWgr8m/h+sTD9+qX8mlDH5rSaRjtuitA50ncrHSBJ4gUhvEMxK L0vJr5SFjew/FGtdDFVp6oEjZTtpQ9TgUacmdTlYb+5zXgHRdOPF0Umy2vD40wmY+nJX MVhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778536934; x=1779141734; 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=ik2ijbC6NTpwxKezKUy+hGJC+FJRCeUEYZIMUAfimrQ=; b=rtGrCPBuos/6/mqNxFLws8Ts3bI7oPHuiaLavdLJMcprYrRm56tjV00H3hIMV1uO1x Lc5LTXkU5gV/wx7JEk104m4HddWdYtx7Nq3PSZIn8r4RkNM7ynbJOgLqvPzJz8RjyBFe rVEPWR45OrbE1oYri7knbmL4uXr+HZKV4R0oMkZwtzQIbJLnh94/TL6GZWzNL/fJuJqN QmnxGb2zfuX5O1t1w8VQCDU9wFHTTB0sR2otyb1JwAShTgsTEu6aQZBfYp8FXlHxPyCx pX+B6i6BG8BWshlktIA9ZhwCelU0SEe8gSEVeE4VVCRdJOtQTCD9ayFyTvHRV6OAhNxm zhuw== X-Gm-Message-State: AOJu0YzC/CXU4kmDftp2KqfIga1lOsF7plAgUksIHMVjPTrTwqrGGlcy gZqjKuobiHgTcKdAgaYvTJBThYPv05RS9W5+pMiv1o+P9lcSYLr4mfbN+AX5CWkz3Re+smPgqHO zjvr9KjEK+EanW9t9K+3BvskSqlRMhCmRIs1rveM/GEqAmblQPBN/ahazkfjFJkIr3Q== X-Gm-Gg: Acq92OE2aMNKibULd71YffWqQRaDp9CvNrXa2bUzaXeTbM2bqYRTGLqGI8/l6neKXFr MU8IMXSPURQe7ASoubrO6Ilklt1xIInYwqw1KLRrHNvX5qWQllCYXvPDjDUp8Bv2nAlW9U19bc8 gLx7pomtRTORANsIDxpqfvv3NWy1PqZyTeen8d9zLsFuC0fohE7BlcyoLC/PQUzeaT+nb4IW18E 9IRRpaTBH7ljlg6GQwfxE+enSvDhvDbnzku1McVPJs7/9za1wwy+nBdkNFawK8sUM43WTZ9x/K+ LyFXk3gS9dQa+J2qp7pNTuZpsHjeMxdYXxhOA9q8b3PSTJCHBRjukEXls/2pF680rAgJXZ27Hjv HdEOTLvleBDIFe2rlInTzR3caqVsCcUKL72dCpe7N X-Received: by 2002:a05:600c:4c17:b0:48e:8974:c377 with SMTP id 5b1f17b1804b1-48e8974c4c5mr28773935e9.29.1778536933612; Mon, 11 May 2026 15:02:13 -0700 (PDT) X-Received: by 2002:a05:600c:4c17:b0:48e:8974:c377 with SMTP id 5b1f17b1804b1-48e8974c4c5mr28773545e9.29.1778536933039; Mon, 11 May 2026 15:02:13 -0700 (PDT) Received: from redhat.com (IGLD-80-230-48-7.inter.net.il. [80.230.48.7]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45491e94c0fsm29095912f8f.32.2026.05.11.15.02.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2026 15:02:12 -0700 (PDT) Date: Mon, 11 May 2026 18:02:06 -0400 From: "Michael S. Tsirkin" To: Gregory Price 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 10/30] mm: alloc_swap_folio: pass raw fault address to vma_alloc_folio Message-ID: <20260511180017-mutt-send-email-mst@kernel.org> References: <369a08b86f51572b2715a9ec577de27ea98000d3.1778489843.git.mst@redhat.com> <20260511174032-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 Mon, May 11, 2026 at 05:52:39PM -0400, Gregory Price wrote: > On Mon, May 11, 2026 at 05:41:16PM -0400, Michael S. Tsirkin wrote: > > On Mon, May 11, 2026 at 12:05:18PM -0400, Gregory Price wrote: > > > On Mon, May 11, 2026 at 05:02:39AM -0400, Michael S. Tsirkin wrote: > > > > Same change as the previous patch but for alloc_swap_folio: > > > > pass vmf->address directly instead of ALIGN_DOWN(vmf->address, ...). > > > > > > > > > > Starting to seem like this should all just get squashed into once patch. > > > > > > ~Gregory > > > > I mean I was told the patches are too big and too hard to review. > > It's just same, independent changes made in several places. > > Does it matter if they are squashed or not? > > > > Mostly i think the ordering of the patches thrashes from one set > (alignment) to another set (USER_ADDR_NONE). If all of one set was > pulled ahead of the other then it would be easier to follow. > > This particular set seemed trivial enough to just be one patch, but i > don't think it matters all that much. > > ~Gregory I can reorder and put alignment before threading, sure, that's trivial: these patches are all independent and cause no conflicts when reordering. So far the main work will be the hugetlb thing - it really parallels what I did with post_alloc_hook, to think of it. Will take me a couple of days, I'm behind on other tasks. -- MST