Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp920703lqd; Thu, 25 Apr 2024 00:05:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVa7Ce6jbMtwrAc5iq2vvCK90xy608lCCLyZHlUzfkOE18Fy1Hu9DRZUnTAEDPzuy7njqhZX2azLvLykORl/VJWXmQ5J85s9Ymzx0X6ng== X-Google-Smtp-Source: AGHT+IHtRRuK+ZnL7KM2IKuv7TL1SVCaNeC1EQ70S1JUDKTrVXmBRDuCESFTXmAbS2Iqt80WmlZC X-Received: by 2002:a17:90a:ce03:b0:2a2:7992:fbf5 with SMTP id f3-20020a17090ace0300b002a27992fbf5mr4966296pju.48.1714028748673; Thu, 25 Apr 2024 00:05:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714028748; cv=pass; d=google.com; s=arc-20160816; b=xY0SdWLkphiT3loBb4I8ZcBWPcUdG6IaqmaMl5ockKbpLD3Lyato7WvFMt52ZygN98 N+rBaMHS9lo+8VqrD1ejHYfaI1ZmFHiqoLWj0MglteWv0wV7A0uL54mdLtPcEeHaORUf mcD6vkNCYkt+IG3v4ZKB/SU2b7Ldp4G7PwrX/MD3Fx5isrZ/zeMm8S/HQe+PYyUN8X8z uOClKsZa0WB+6jrN+dIdpQs74i2ihlbRSqXHBCwhgQZi/AaiVeXkJ363ZfOV2Y/byTU8 o29/Qz+iAlby5YjTL60B1Y+nTk9TPb+l5MG74rm5xjj1jmkxKjDqUZR+jWCgSWljElFE Y4iw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=yYfps7OKpOUNR5eXImP0Swff4s72jJ84UEFKATOq5m0=; fh=dgsYxuZw6/HiUMhgytEj/BtPTPt/oSZW1lAl9PiYVBI=; b=TTn0fSB3Jpd/4n1FMgPIa0l3JieK++IErc4ZRWWqAEFph50Vgr883Uiwli/uyr7NXg bhnZDlKMmLyNjKSRjzKfCTLy9NiRlgkzY4W9LcuqBa3Vmyiq6Yw227l4+GQIogffniyx d6kgAHHj4BSkGddl6H4wXiyLl5EZy6NesnignH8pGGb9WBAmsVFJMgyGoAWtkV6UB7NX ma15aMpnaDM2DgF2LQNgRhFJaCFC3YR39zlOayQS0654mDa2TB0PB0VinlOMsPkmT/UJ 15i+w7W3gKAwu7dx11qBUUTspMlzsmvLIZuO8izmPqRG1Elzjnx4IUtUsMwh+3tu2Fct md6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=iv3CTpNL; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-158097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158097-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id w13-20020a17090a8a0d00b002a29ea7aae2si14108741pjn.15.2024.04.25.00.05.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 00:05:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=iv3CTpNL; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-158097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158097-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 538C1B245A9 for ; Thu, 25 Apr 2024 07:05:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0E336AFB6; Thu, 25 Apr 2024 07:05:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="iv3CTpNL" Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) (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 688B05FBB2 for ; Thu, 25 Apr 2024 07:05:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.98 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714028711; cv=none; b=Q1Mxce3ENrX/Skiw/tM6czTPbvACbHAfPdwkGVJBfn7/WjH2rIZh8zd8O4PVhufnmEJIlSrJK8BqZebKaZlqjD0iN0wBx/PGsnK7IKNknUspgZyi52EORaIL//A9XMWKVelXcym38F2x9ZZ28dc7sD+1IbZVFapD5W4ozWREEHM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714028711; c=relaxed/simple; bh=Q82aLPQcq35nz4gQjtuhvBs57kevUJgzH3StIVIcI8A=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=N8q6CkRUVtha9qJHp2gi6oovL3eIrJU1ree4HSEhMtVWLntAveSpoE10atisYx3YDCCWNCyLw7Yysrj1d5J9hrVsl6YKKqohbQ7iYgo44hMZlaHPIW+WquMvrUynZgJNVYxgmkzpCrVWJzdzYyUmJJ9vkhIxRhEPi+21OawOHgo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=iv3CTpNL; arc=none smtp.client-ip=115.124.30.98 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1714028700; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=yYfps7OKpOUNR5eXImP0Swff4s72jJ84UEFKATOq5m0=; b=iv3CTpNLHw2RchjMeAwByckuJkyqiErR6YGGMmewUjOX/ZAj72JVIQRp/ZrgUQC85OiAefUvkVtVqKc2GNRHhFWXuGSilqNC3g+MqFE/ye7iJXMJRwnSkLCIBCkXcuJZderPHrJ3BigN9oFkln4Aa5oOFOU1FWyAYJrVSaJfre0= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R981e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037067113;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0W5EX3sp_1714028697; Received: from 30.97.56.61(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0W5EX3sp_1714028697) by smtp.aliyun-inc.com; Thu, 25 Apr 2024 15:04:58 +0800 Message-ID: Date: Thu, 25 Apr 2024 15:04:56 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 1/5] mm: memory: extend finish_fault() to support large folio To: Lance Yang Cc: 21cnbao@gmail.com, akpm@linux-foundation.org, david@redhat.com, hughd@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, ryan.roberts@arm.com, shy828301@gmail.com, wangkefeng.wang@huawei.com, willy@infradead.org, ying.huang@intel.com, ziy@nvidia.com References: <358aefb1858b63164894d7d8504f3dae0b495366.1713755580.git.baolin.wang@linux.alibaba.com> <20240423083951.1380-1-ioworker0@gmail.com> From: Baolin Wang In-Reply-To: <20240423083951.1380-1-ioworker0@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/4/23 16:39, Lance Yang wrote: > Hey Baolin, > > [...] > @@ -4727,9 +4725,11 @@ vm_fault_t finish_fault(struct vm_fault *vmf) > [...] > > The mm counters have been moved from updating out of set_pte_range(), so we > we may need to rebase against Kefeng's patch[1]. Yes, I did not rebase on the new mm-unstable branch, and I will do so for the next formal patch set. Thanks.