From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E989AC433FE for ; Mon, 17 Jan 2022 17:03:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242292AbiAQRDd (ORCPT ); Mon, 17 Jan 2022 12:03:33 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:37324 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241987AbiAQRBu (ORCPT ); Mon, 17 Jan 2022 12:01:50 -0500 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 DC9BE1F3BB; Mon, 17 Jan 2022 17:01:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1642438908; 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=vUro+vBrEtOPltJXb/j5rFQPgbGEJcIyQQ4tFFRIyow=; b=xSbpYCI0D+Ef6ahN6zNklS5qSkiiVFdaHbiOuwQ9nPQN045ZcQA7PL9F3OgITsSF87pILK oRGf0Ha6ljns4ZNCAby2JaMptf9bZHxmF4wjBWBBu1BHRdXqoyphOWSMf3UTZUcCbszKAP 8oO/diYEKoEGzCt91FlGOblKlrxxNFI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1642438908; 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=vUro+vBrEtOPltJXb/j5rFQPgbGEJcIyQQ4tFFRIyow=; b=THOqs4thRjkIdtgOa6DRUp+5+HVDd67dZ48nfonM8JngHbuFotAjQkPWvTcVy7oVMNQqQA yEBMdzKz1d7LVMCg== 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 7AEEE13DBA; Mon, 17 Jan 2022 17:01:48 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 6nXfHPyg5WGvdAAAMHmgww (envelope-from ); Mon, 17 Jan 2022 17:01:48 +0000 Message-ID: <848e85b8-208d-cefe-6674-4534a2d181ac@suse.cz> Date: Mon, 17 Jan 2022 18:01:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: [PATCH v4 24/66] mm: Remove vmacache Content-Language: en-US To: Liam Howlett , "maple-tree@lists.infradead.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Andrew Morton Cc: Song Liu , Davidlohr Bueso , "Paul E . McKenney" , Matthew Wilcox , Laurent Dufour , David Rientjes , Axel Rasmussen , Suren Baghdasaryan , Rik van Riel , Peter Zijlstra , Michel Lespinasse , Jerome Glisse , Minchan Kim , Joel Fernandes , Rom Lemarchand References: <20211201142918.921493-1-Liam.Howlett@oracle.com> <20211201142918.921493-25-Liam.Howlett@oracle.com> From: Vlastimil Babka In-Reply-To: <20211201142918.921493-25-Liam.Howlett@oracle.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/1/21 15:30, Liam Howlett wrote: > From: "Liam R. Howlett" > > By using the maple tree and the maple tree state, the vmacache is no > longer beneficial and is complicating the VMA code. Remove the vmacache > to reduce the work in keeping it up to date and code complexity. > > Signed-off-by: Liam R. Howlett Acked-by: Vlastimil Babka "git grep -i vmacache" found these leftovers: include/linux/mm_types_task.h:#define VMACACHE_BITS 2 include/linux/mm_types_task.h:#define VMACACHE_SIZE (1U << VMACACHE_BITS) include/linux/mm_types_task.h:#define VMACACHE_MASK (VMACACHE_SIZE - 1)