Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5742167rwl; Wed, 22 Mar 2023 01:25:30 -0700 (PDT) X-Google-Smtp-Source: AK7set+RMLpfxF6FpAEPksUW1ceomdkcZo8oJtCwsD+khrHNVjeDouvdnncNMjT6cKzPxwoDzHFX X-Received: by 2002:aa7:ce14:0:b0:4fb:4f1a:d4e1 with SMTP id d20-20020aa7ce14000000b004fb4f1ad4e1mr5774726edv.37.1679473530282; Wed, 22 Mar 2023 01:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679473530; cv=none; d=google.com; s=arc-20160816; b=0ig84U6kZMC9Eje4/UEybzFGYmoG8z0QjVMaSe2LJ3RFLYhpUy013ucRdPsG21SM2R baFUjITfpeeGrmf+MrXPerEARo4SdH94je63xNTFDxHlUylIEjtthqIwNebW90Fi8t4c BRE0DtcHit22Fj9mk14F/w7A6e+MR+8cDyUvmR0aDapY2qjQI+IAz9gqBLSbF0gmXtZ2 AxvKN7Z4NtyQ6qgAcptc0hLtL5YfiiPpMv/s6h5rz0CsYe0UhO0fOxvIfQhxSkp24z8d JkZxnXTV72Mvqcgg9mQhKDT0ohRy+q+M794hVTRfUflJf0mIDr4mmdDBOCpCd2Dp1vZR +thA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=yaCVa54jTiy0sgc0DeIq+Nm9gEuRnN1h71KkgJKmB4E=; b=EDs2ZI7eTUehXdmAAVLcRZ7MANwNJy+brTb3Ec+1wmWtiBEa7xZ5YDFmko1Yrezd2F ZGbmT2yVa93mLxhxle7Gd27NrLZqthf6ppeNqSId0tbDZMxoX9mEd9RGCea/lU4SF2g5 qZhRDHIbtaFWtr4iaa/MWIqPp53WySNr7a6vDsRf2FtMuaxZDWTGG2vVTTOudgvbeehQ jYjojnRzyxkOgNYVa8haB5EfiwO031VLPmX5cNs9aRU7lSz4YwgWZvdZUQ9tWNgVxBIo PL7MUaF8O75Yenh62Sk/YCKrqGHxjJbcFnNz/W0qRZtXkYIR/4dr9VoaXCXa6fZhGGwW fuJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="dJo2/XNA"; dkim=neutral (no key) header.i=@suse.cz header.b=wrJhbWHZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dy27-20020a05640231fb00b004fe95a9e4f6si14509703edb.493.2023.03.22.01.25.06; Wed, 22 Mar 2023 01:25:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="dJo2/XNA"; dkim=neutral (no key) header.i=@suse.cz header.b=wrJhbWHZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230138AbjCVISF (ORCPT + 99 others); Wed, 22 Mar 2023 04:18:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230119AbjCVISD (ORCPT ); Wed, 22 Mar 2023 04:18:03 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AC3A5259 for ; Wed, 22 Mar 2023 01:18:00 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B462920B2D; Wed, 22 Mar 2023 08:17:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1679473078; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yaCVa54jTiy0sgc0DeIq+Nm9gEuRnN1h71KkgJKmB4E=; b=dJo2/XNAugQ+AaQYit0oTk7CuTVIeaxtvGeZTEB6kdq8JaGEYVpMvNaqUqTck9T6OTit1C 9RUYYtLNzOUByH+AcN1iCnDnsu08jYEn1qZmuVVVhFDMkjrbcy1tQB+6kY/2aGGnMgRMod 9poTiAg/NgHvbzsi9Zbqht9jl7LlS5g= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1679473078; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yaCVa54jTiy0sgc0DeIq+Nm9gEuRnN1h71KkgJKmB4E=; b=wrJhbWHZK7vewa10Gts4vVrvtEjZ24d1g+UpMC05Gra3buqFZ4mZ0DmOo/Kg2v9rHuIz9C ofh4C9Q1FGJ9s1Bw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 916EA138E9; Wed, 22 Mar 2023 08:17:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 0IDYIra5GmQPNgAAMHmgww (envelope-from ); Wed, 22 Mar 2023 08:17:58 +0000 Message-ID: <55f3b07b-13dd-f7a1-8d3a-bc79ae1b4f50@suse.cz> Date: Wed, 22 Mar 2023 09:17:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 1/4] mm/mmap/vma_merge: further improve prev/next VMA naming To: Lorenzo Stoakes , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton Cc: David Hildenbrand , Matthew Wilcox , "Liam R . Howlett" , maple-tree@lists.infradead.org, Vernon Yang References: Content-Language: en-US From: Vlastimil Babka In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/22/23 08:13, Lorenzo Stoakes wrote: > Previously the ASCII diagram above vma_merge() and the accompanying > variable naming was rather confusing, however recent efforts by Liam > Howlett and Vlastimil Babka have significantly improved matters. > > This patch goes a little further - replacing 'X' with 'N', which feels more > natural as this represents the _next_ VMA and replacing what was 'N' with > 'C' which represents the current VMA. Might have wanted to mention the 'A' to '*' change as well? > No word quite describes a VMA that has coincident start as the input span, > however 'concurrent' (or more simply 'current') abbreviated to 'curr' fits > intuitions well alongside prev and next. 'curr' sounds good to me, I concur > This has no functional impact. > > Signed-off-by: Lorenzo Stoakes Reviewed-by: Vlastimil Babka > --- > mm/mmap.c | 86 +++++++++++++++++++++++++++---------------------------- > 1 file changed, 43 insertions(+), 43 deletions(-) > > diff --git a/mm/mmap.c b/mm/mmap.c > index 042d22e63528..c9834364ac98 100644