Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21079826rwd; Thu, 29 Jun 2023 10:37:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlFOYHUMS3rl863xugH6/QJpJUo0DTH5U0k5EWgpAU8+LTcIYs32gvSb50sCWoGC8fkrf2jM X-Received: by 2002:a17:902:ea09:b0:1b8:5850:efcb with SMTP id s9-20020a170902ea0900b001b85850efcbmr3306881plg.10.1688060243439; Thu, 29 Jun 2023 10:37:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688060243; cv=none; d=google.com; s=arc-20160816; b=fxJz+i4EeLIpHEhxELvGglIwijHsSStDA1VRzp5tE69AYntF3koTyRFyV4vqVanIEv wuDCckDlflri1zhDwUdk7c/ecVScN78xsXVYlSxuBn9ol+WuzHxS+EwC76UVvWsn3WCX lXr4byo9Svfq7WHshD8zIiRd7QevVggSZRNKlU2URpSjN1kADJYOUOmCQfMZb+fu9B8O 54F8oipbeA0vQEvqE5lwchK7lnlQ/beqPzQ0+xHFLA56rfjb0bMLhd680L5414NbOiL/ bAWFQcDULasZf82XJ4jlObI3ceQ7+XLUNSD2URlCm4tXIlXbZTx+ktGeCcLpOUBoDtA5 mRkA== 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:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=Ihs5EgMXHQHj88zpCeo3ZzrhVDp7rA5sO3lRJpv1M4U=; fh=JfNvLWb+yuLoYplraDnl0LeFma4rAYDLz5gGjAH967Y=; b=stNINaSh1aiVOhHRq8mAeddYhDDqZO3VbgxQPrWx8OdYJr5ZqPjg3yx9T6K38Du7G4 z/c47JhuiWNLNjY6mV4tufvyIAEpBz8UnfdrOoptqYgDDYZQaSewEX+eoFkiWJgkm86D FWeanBy6sDXIRCjFyKpsZeCPsqdmu3pbivx+YTRvNz+LM1WA4b9YbjEkrXHHsTDOil/W HeaRZJsTG+6rsxVAaGmaJnZp0+NwVzOLbBvwCzMPLTTHeRNbq467pb5BedFk75n2HJJO A8uYmIIplV9LD8xQWlDEAfxeDN+q4kSliaAwnF20RFlqpUQojznoKc7z6fb3yA+L81ja uoUw== ARC-Authentication-Results: i=1; mx.google.com; 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 j19-20020a63cf13000000b005533980c059si10835130pgg.494.2023.06.29.10.36.45; Thu, 29 Jun 2023 10:37:23 -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; 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 S231817AbjF2RGi (ORCPT + 99 others); Thu, 29 Jun 2023 13:06:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjF2RGg (ORCPT ); Thu, 29 Jun 2023 13:06:36 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 938542D4C for ; Thu, 29 Jun 2023 10:06:34 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qEv5m-0004tO-Fr; Thu, 29 Jun 2023 19:06:02 +0200 Message-ID: <90150fe2-e07d-d991-5bab-0a931abda9a3@leemhuis.info> Date: Thu, 29 Jun 2023 19:06:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v4 29/33] x86/mm: try VMA lock-based page fault handling first Content-Language: en-US, de-DE To: Jiri Slaby , Suren Baghdasaryan , akpm@linux-foundation.org Cc: michel@lespinasse.org, joelaf@google.com, songliubraving@fb.com, mhocko@suse.com, leewalsh@google.com, david@redhat.com, peterz@infradead.org, bigeasy@linutronix.de, peterx@redhat.com, dhowells@redhat.com, linux-mm@kvack.org, edumazet@google.com, jglisse@google.com, punit.agrawal@bytedance.com, will@kernel.org, arjunroy@google.com, chriscli@google.com, dave@stgolabs.net, minchan@google.com, x86@kernel.org, hughd@google.com, willy@infradead.org, gurua@google.com, mingo@redhat.com, linux-arm-kernel@lists.infradead.org, rientjes@google.com, axelrasmussen@google.com, kernel-team@android.com, michalechner92@googlemail.com, soheil@google.com, paulmck@kernel.org, jannh@google.com, liam.howlett@oracle.com, shakeelb@google.com, luto@kernel.org, gthelen@google.com, ldufour@linux.ibm.com, vbabka@suse.cz, posk@google.com, lstoakes@gmail.com, peterjung1337@gmail.com, linuxppc-dev@lists.ozlabs.org, kent.overstreet@linux.dev, linux-kernel@vger.kernel.org, hannes@cmpxchg.org, tatashin@google.com, mgorman@techsingularity.net, rppt@kernel.org, Linux kernel regressions list References: <20230227173632.3292573-1-surenb@google.com> <20230227173632.3292573-30-surenb@google.com> From: "Linux regression tracking #adding (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1688058394;ddf8da5c; X-HE-SMSGID: 1qEv5m-0004tO-Fr X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 [CCing the regression list, as it should be in the loop for regressions: https://docs.kernel.org/admin-guide/reporting-regressions.html] On 29.06.23 16:40, Jiri Slaby wrote: > > On 27. 02. 23, 18:36, Suren Baghdasaryan wrote: >> Attempt VMA lock-based page fault handling first, and fall back to the >> existing mmap_lock-based handling if that fails. > [...] >> +    fault = handle_mm_fault(vma, address, flags | >> FAULT_FLAG_VMA_LOCK, regs); >> +    vma_end_read(vma); >> + >> +    if (!(fault & VM_FAULT_RETRY)) { >> +        count_vm_vma_lock_event(VMA_LOCK_SUCCESS); >> +        goto done; >> +    } >> +    count_vm_vma_lock_event(VMA_LOCK_RETRY); > > This is apparently not strong enough as it causes go build failures like: > > [  409s] strconv > [  409s] releasep: m=0x579e2000 m->p=0x5781c600 p->m=0x0 p->status=2 > [  409s] fatal error: releasep: invalid p state > [  409s] > > [  325s] hash/adler32 > [  325s] hash/crc32 > [  325s] cmd/internal/codesign > [  336s] fatal error: runtime: out of memory > > There are many kinds of similar errors. It happens in 1-3 out of 20 > builds only. > > If I revert the commit on top of 6.4, they all dismiss. Any idea? > > The downstream report: > https://bugzilla.suse.com/show_bug.cgi?id=1212775 > [...] Thanks for the report. To be sure the issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression tracking bot: #regzbot ^introduced 0bff0aaea03e2a3ed6bfa3021 https://bugzilla.suse.com/show_bug.cgi?id=1212775 #regzbot title mm: failures when building go in 1-3 out of 20 builds #regzbot ignore-activity Developers: When fixing the issue, remember to add 'Link:' tags pointing to the report (the parent of this mail). See page linked in footer for details. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.