Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp207677rdb; Thu, 22 Feb 2024 00:44:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX9lOUR2/gxkPrvHoev8lUO4NdlONfxQ2cfyZkwxFxc54siGDVhZMFPool2x7dZSedmSrjfqvXb6mcbKvBquHEniuOwPhVqAsVfWFHd5w== X-Google-Smtp-Source: AGHT+IHI18c2QVs1AOP2S4u/fWHuXjt/s91GVtWcsqUXWK5Cuf0pHhv1v/R+ik+XDE+cFBlZ596O X-Received: by 2002:a17:906:94d:b0:a3e:e78a:b058 with SMTP id j13-20020a170906094d00b00a3ee78ab058mr5032804ejd.75.1708591496544; Thu, 22 Feb 2024 00:44:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708591496; cv=pass; d=google.com; s=arc-20160816; b=lz1jiz8/hqZ4Jf6ubqtlYW3CxOFJi3aG9nuoTRMt53XAFts/oCVUcC17by9YJk/p4b wk8kUL5jsBkg72oZCW2wZsu4qDNIJyZtnKdoDWNrheEEOBSeJkG9rHcYyI10UL8Zk9uy Pqne/2+Sj+uL1LnEvJewIFbGR+HXGfTqnYJKcR1pjBHu92kvuCMjUFHoeUiv/rpnst9a P8YmUoKuSR1P82cjOhLkoEgcVDL2yzcxHhxFQGU9oCETx4epbctljKUsuXZU0zYFzMSs OFflelIiXHQ8cIPs6GkPNbpvwmoin0+X1avLxsWVapYqaRds62grVCh0TP7JcLY/0Q1S rKfg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ExkF3M7o16fq3CekFhwboy4rKgcKrVkSVcelu60MJTE=; fh=AMxZejYxPtdfsMMLy4UcyFxTTqlUAc1ezcPyZLffygA=; b=HAbYIZ0Zc56jyq4icCJ+7jQc+lxePDZc4VmxmaccfDnjWfbirNm6N9dPUGtwZucZcg /qNnWfiqcOgpcZi4Uy7a+D65Yxu2LuyhLT4uYgGFWweYakhh05YdP1dsdzChZtwJ8PyV iVbCxGbWafk6oSz4BciCPXP4wE19QNie/M9AqjRRcc/TgLrzkJJ3QltFOCeduwIGNFuu HBtniTuWkptmNVSalfn8/Cgy+A62uNDJE9iqej6sjD/C/qXWlt27oHSMfeM1IJl1J9W+ AV/t/mPQjsbHUjQXy4aTv0HnprjjAHcxHUtnXbSE52M5ILSADALdoOETCrzb/B19m/Ce GaUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MR09gmqc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-76135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76135-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s14-20020a1709066c8e00b00a3f70bcbfdbsi566170ejr.271.2024.02.22.00.44.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 00:44:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MR09gmqc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-76135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76135-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 18FAF1F22423 for ; Thu, 22 Feb 2024 08:44:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D228376ED; Thu, 22 Feb 2024 08:44:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MR09gmqc" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 01BB0364B6 for ; Thu, 22 Feb 2024 08:44:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708591445; cv=none; b=HdKMv0aXmH/tWxN6/LgPdh6X+YrwzknXyQzW6F1JCGvcPeb58sIrev+49mVlohCqB89h4UqyyJEpyq87VPAuJLC0Yj/rxG4/hveDqQHaSXlu7ag7txIEtUiEK0ZMeIPm4XmmEJi4yfmBY48zPffHIAsVgwz8Aujf/ywzjoUrVtY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708591445; c=relaxed/simple; bh=ExkF3M7o16fq3CekFhwboy4rKgcKrVkSVcelu60MJTE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ykk3wDBZndG5IOf7qXSuk9HM0np1h5aw0kPzO2434jCSKtddn7EZ47e9VY3Y+QTBqts/yX40qXWS5AqRXtrA6AnX/5cfalG9gPN1EIVMuVZbrQWhGEih6IjJalzKuM5+W/ZkozaPEIA2ejML7hDUoBmHts1jpxJRKzH2MeiOZ8U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MR09gmqc; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4128d15ae56so455205e9.1 for ; Thu, 22 Feb 2024 00:44:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708591442; x=1709196242; 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=ExkF3M7o16fq3CekFhwboy4rKgcKrVkSVcelu60MJTE=; b=MR09gmqcnLMUJ/pTYEk9Uh0UDKpMcvc0FraWBQisxLTxt2GKeUedQyrAp6lwqp76fj 6PhZokPTrDGdb4tKnEAJTzQCHr2eneQchIoVfcvx971hiE7NxZDQCNLYjarFvgoV1Lv8 vluhytyKtaWkcoY5x87ichUVhNMTLjrZNX+gN8tABoGRB93w2YMDFJfpBt2poGLtPIV6 6iUgZt538vKoio2O35nK43Pr7gCuRs35Ljf3rNGjpR1GYkowV6mPreG4Iz3zs9qbuTP2 5Vq9UVo+1TjHOk9+aTmCaScMdLQBOidL4AV6S/eBgI5fxBXoQbKVh0ywCfhBpGBPTvFY Xk5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708591442; x=1709196242; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ExkF3M7o16fq3CekFhwboy4rKgcKrVkSVcelu60MJTE=; b=GQae5RkakWRAGxnz3Xm2zLGcZwR/zgDdJU5NoFFqNf3zMwbDKBFz3HRnWGgebfsGwj w8jTAEIxi6JtxA9Pi5tGICSrdnwqKs2aBUyJmQV1HpdlPf+EfLPv7BDGwPBJubU9LzR2 M4kL+cFK7CV5NZxSq28341h6DAluMnzesEvhY5JYr9ob8SGwGNItQcRuPG0uyubBDsXj USzX2m4RvkTJA9tcZ6VTDIKN/nc6Pa5vzezYV2jEmzqr9kzcwMK2R2wTXgDBFrS9t2DU 7E3b14NUSpVlbjxgL3uh4Wsl/wH9Q8EGsgrEBBsGwkiYTp9Ohf3OCyzOk2RGHm5JzSzA /z/w== X-Forwarded-Encrypted: i=1; AJvYcCXEsd4rM85sByAQ5wJ3PFhggS3ZmIuhQk34rofwUdliWv2L/pjQaI7ILiD1ZvKB2j2TCKyXXinDhBwIR5mAV68OpKa5yhej2hP2HTSm X-Gm-Message-State: AOJu0Ywoq7RIiesc/KM0m41E2WgVE1g4dm7j1polMLcWKFPduUToJ1zf 9sgOHWyB8BWHgPOaavQTnqJUFPPePpS0t/RADLp3x11ZOU4UoAbO X-Received: by 2002:a5d:4742:0:b0:33d:6c37:3aa7 with SMTP id o2-20020a5d4742000000b0033d6c373aa7mr5154156wrs.18.1708591442130; Thu, 22 Feb 2024 00:44:02 -0800 (PST) Received: from localhost (host86-164-109-77.range86-164.btcentralplus.com. [86.164.109.77]) by smtp.gmail.com with ESMTPSA id bn7-20020a056000060700b0033d3ff1cb67sm14380608wrb.66.2024.02.22.00.44.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 00:44:01 -0800 (PST) Date: Thu, 22 Feb 2024 08:41:47 +0000 From: Lorenzo Stoakes To: Yajun Deng Cc: "Liam R. Howlett" , akpm@linux-foundation.org, vbabka@suse.cz, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mm/mmap: return early if it can't merge in vma_merge() Message-ID: References: <20240221091453.1785076-1-yajun.deng@linux.dev> <20240221153827.wkmjnnwsf6lyxatc@revolver> <082fed0a-8489-37d1-f990-067976260659@linux.dev> 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 Thu, Feb 22, 2024 at 04:37:44PM +0800, Yajun Deng wrote: > [snip]> > > Okay, I got it. Thank you! > Please do keep contributing though, you have really raised something interesting here and I know you have a maple tree patch going also, it's all very much appreciated :) Thanks, Lorenzo