Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1454921rdh; Mon, 25 Sep 2023 13:22:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG4xf6tF6FGeglK79Glupzu7LIuI+8yVHMlfg8FwHH2kckoB69USQZ2Y28gUKD0u9M5ED/Z X-Received: by 2002:a05:6871:5cc:b0:1d6:481f:5717 with SMTP id v12-20020a05687105cc00b001d6481f5717mr11765615oan.42.1695673336325; Mon, 25 Sep 2023 13:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695673336; cv=none; d=google.com; s=arc-20160816; b=DCjNRLpJ4P6mSVg6OKgsUup+JgUVqRQrk09XzR6D1kvFYLfZnbDcqrqUZNENhyTf/R cOHfDhcg/5sDxKYVIGvFQaJtiXXWjh5UkH2ZwwUFgHr3ulpn5sjaUcSbFH2ycvFYDZbg O7bSUSM543zHf1OoH3IVl5gp3Llo/1WsBJjP5hlz9BiICvgz0RK2jnN0eR1Lzy/CQzok h0AsH4MeE2K1KHH6joSQORIdK65RWrouVRGiVKlJOLUp9JedcKdAIFIqUbQiSX051PZd i/OiNB4LIHQ4GEnkqXoluhiatrQH8J4fJeIPfcMzKfxSVtW2kvfKbwEQNWR6RMBZq4L9 m94w== 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=YdaRJKakkuLMshhnb+xX/ehXhxXH/RPwEMEfBIoCVXk=; fh=DaxFF0qSUx6mK0Z37vcwMp4GaqQlKRaWOmJDUUQUTOI=; b=lIuBRm+vo48889sfFHuBK/nEKd6vgGnzZMHwYu00IaU7vkpn3nAbIEx3dPSTx18E8s 2ZGPy3efW6VkgBNLfOIZvCNKSOkanu2leYhMy76xBEdX5y+QZaF0pXFf3rYq1VLsYmhk +8W1QZAuMaGMjFM5AXs4r41dFCi+fv7HFZKbyKE78dxaGXLc/bC8+xmd6ry0dpsGeK3E //8frcbh/2r0pCljDj+WwvX0OEh9BUEKF/3zMkLX6cpybiFbeZRnk9KEaJbRwbtfQ2/O sh4XZ8LTTx39uu9m6f66BJ9KdUKBmHiVYJ2yZPl1acWzSLeZCxy5vuqovnHuc9knCD6R frng== 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:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x4-20020a63db44000000b005775c7e503csi8753356pgi.116.2023.09.25.13.22.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 13:22:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id B2A01804F602; Mon, 25 Sep 2023 13:11:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232752AbjIYULp convert rfc822-to-8bit (ORCPT + 99 others); Mon, 25 Sep 2023 16:11:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjIYULo (ORCPT ); Mon, 25 Sep 2023 16:11:44 -0400 Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 431519B for ; Mon, 25 Sep 2023 13:11:38 -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) (envelope-from ) id 1qkrvU-00065u-2H; Mon, 25 Sep 2023 16:11:28 -0400 Message-ID: <2813e3aea98da510b9075e2a532272a1f77f5355.camel@surriel.com> Subject: Re: [PATCH 3/3] hugetlbfs: replace hugetlb_vma_lock with invalidate_lock From: Rik van Riel To: Mike Kravetz Cc: kernel test robot , linux-kernel@vger.kernel.org, oe-kbuild-all@lists.linux.dev, kernel-team@meta.com, linux-mm@kvack.org, akpm@linux-foundation.org, muchun.song@linux.dev, leit@meta.com, willy@infradead.org Date: Mon, 25 Sep 2023 16:11:28 -0400 In-Reply-To: <20230925200659.GB11309@monkey> References: <20230922190552.3963067-4-riel@surriel.com> <202309250923.NEPT0ip2-lkp@intel.com> <692fafae9842a9b15b7b4a033bb7dc800784d4aa.camel@surriel.com> <20230925200659.GB11309@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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 25 Sep 2023 13:11:41 -0700 (PDT) On Mon, 2023-09-25 at 13:06 -0700, Mike Kravetz wrote: > On 09/25/23 15:22, Rik van Riel wrote: > > On Mon, 2023-09-25 at 10:04 +0800, kernel test robot wrote: > > > Hi, > > > > > > kernel test robot noticed the following build errors: > > > > > > [auto build test ERROR on akpm-mm/mm-everything] > > > [also build test ERROR on linus/master v6.6-rc3 next-20230921] > > > [If your patch is applied to the wrong git tree, kindly drop us a > > > note. > > > And when submitting patch, we suggest to use '--base' as > > > documented > > > in > > > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > > > OK, so I have a fix for patch 3/3 that gets rid of the > > compile error, but the libhugetlbfs test cases show that > > patch 3/3 opens up a condition where resv_hugepages > > underflows. > > > > I have not figured out the cause of that yet, but > > patches 1 & 2 seem to survive all tests fine. > > In addition, I suspect patch 3 is going to cause a performance > regression. > It is taking me a little while to resurrect the test environment used > when > the hugetlb vma lock was introduced.  My plan is to exercise the > series in > that environment. > I am planning to send a v3 of the series soon, once I have confirmed that the bugs in patch 3 have all been fixed. I have no strong opinion on whether or not patch 3 gets merged at all. Patches 1 & 2 fix the actual bug that I am trying to fix, and I am perfectly fine if patch 3 ends up getting dropped in the end. It seemed worth trying to get that cleanup though ;) > I should be able to review patches 1 & 2 later (my) today. Thank you! -- All Rights Reversed.