Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3169827rdg; Tue, 17 Oct 2023 06:48:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGPBYf1D44UKsVql/wNdnNjii5WUW7Awlq8QuIWzh/FR8yHA3EVbDdw8kfu3PJXgr8Z4bCl X-Received: by 2002:a17:902:ce8b:b0:1ca:3d53:2867 with SMTP id f11-20020a170902ce8b00b001ca3d532867mr2776565plg.15.1697550509533; Tue, 17 Oct 2023 06:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697550509; cv=none; d=google.com; s=arc-20160816; b=0bomDUT0pIFAb4wW/ci6vjc2gtdihRz55PWMhu26DF+e/svOnmUdVSPZnk2EsaHnsm uvfC/0iha4hlftF+ACx7Yuhym+AFPQ1tbCl0qSnM/PVHj67wFqYA534ori1rJ861uXU2 SWrKQvmtDkqB6xpqIVt1Qbse2QRt9sUAf16n8X96ovvScwND7HfBjmH9ITHcsZRt08NE v/kvf9Iwrlw8GMuvFewppH4ZPrqAI7GgBrV23tqSNKt5VE7RhmSrHjk4CILCgG0hNg/q kPhqCSodQlwV3GqggRz80YIRBu6xoROUqPv4vuqV2159Uqy+Ah8SLrhy3WcYPtcGLb1B pvOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=cktcX1ZQ6hMVoN6YMOI1S1JOxlNmZiB+S2bxZ6Ar6bg=; fh=xOBQLPR81x9GwMehTxFnbnTzZerCTZkDFCtNpPLvyGQ=; b=IHrHuWXXsIC9LZzlK9AoBbA3ZwyyYlqmhQ3/gmq7LVmRHX6EGCRsttznqC0E/WzCL6 azdDRcBm6xGfwC9MHNsBQkYw6r9cfkfGfkg6hJIOZOEYISko/yfcZTjD2VorA5OTDdrw xSu+fg3dJYdj2CVSp7uf5a+54krKyxYf7RR/CjpREB0vT8wkBkGS/3bDHU4mJJ+0fdgu vR5ncTlpoFK56FV4Ae9ygA6PTgTsROkQBWYiwLy9Ma54UhuEEghd45SKlqgZR2bOGG32 AbXUnB0RNR+hwCbKwmoZszjE+g6pHY+MmbstMFWA7cZZHMY2GhUoojGAaPXAsalBs02i XOqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id i16-20020a170902c95000b001ca335f71bbsi1920235pla.140.2023.10.17.06.48.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 06:48:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 74E2C80B28A1; Tue, 17 Oct 2023 06:48:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343782AbjJQNsV convert rfc822-to-8bit (ORCPT + 99 others); Tue, 17 Oct 2023 09:48:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234143AbjJQNsU (ORCPT ); Tue, 17 Oct 2023 09:48:20 -0400 Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6DA8EA for ; Tue, 17 Oct 2023 06:48:18 -0700 (PDT) Received: from imladris.home.surriel.com ([10.0.13.28] helo=imladris.surriel.com) by shelob.surriel.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1qskPy-0000VA-2n; Tue, 17 Oct 2023 09:47:30 -0400 Message-ID: Subject: Re: [PATCH 4/4] hugetlbfs: replace hugetlb_vma_lock with invalidate_lock From: Rik van Riel To: Mike Kravetz Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, linux-mm@kvack.org, akpm@linux-foundation.org, muchun.song@linux.dev, leit@meta.com, willy@infradead.org, Ray Fucillo , Jacklin Kotikian Date: Tue, 17 Oct 2023 09:47:30 -0400 In-Reply-To: <20231017005236.GA236970@monkey> References: <20231006040020.3677377-1-riel@surriel.com> <20231006040020.3677377-5-riel@surriel.com> <20231017005236.GA236970@monkey> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 Sender: riel@surriel.com X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 17 Oct 2023 06:48:27 -0700 (PDT) On Mon, 2023-10-16 at 17:52 -0700, Mike Kravetz wrote: > > The Combined faults number drops by over 50%.  This is not nearly as > dramatic > as the changes originally seen.  However, I do expect that there will > be > a noticeable performance regression.  Ray may be able to help running > real > workloads on real applications and database. > > I suggest we hold off on adding this change until further, more real > world > analysis can be performed.  The simplification of the code is nice, > but I > would hate to regress any workloads. Agreed. Thank you for running those tests. Andrew, would it be possible to drop patch 4/4 from -mm? -- All Rights Reversed.