Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp137319rdb; Thu, 5 Oct 2023 20:56:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHR9cab1c74occ0/pLiFdcIhTqEUz8qtSXAmnsYwpB2ZcACkTCK76Jp8C85UomirV61xmV6 X-Received: by 2002:a05:6808:144d:b0:3a4:35bb:edae with SMTP id x13-20020a056808144d00b003a435bbedaemr8320373oiv.29.1696564562480; Thu, 05 Oct 2023 20:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696564562; cv=none; d=google.com; s=arc-20160816; b=KMWsRazl8ujEpRKKlTs90VSguqvxYx8CAXUv/3myeSrUby0A+78Dyrg1LvCvYVlIba 5vc0yTWplbD5HLznvsy+dbod+1yEKc1JdkNGISUHrOJS/eSxFMxEKbLoS7avwDPSZPpo zkCWFXbn0PR2poG4zJDTXgvBruuJW+Q0HX0ZEIIQfr5bxwqfx2zP/gPWdMOtK4Mk9YPq v40in/JJrAEYllwACryVy81g3uxuMFjgJG5fjCZTaoBZFyCKYPVlVH/ylG4PHcpuksSw Z4Vd5yjuaEx53XPtoSFbGcfQ/gxysWUr2tG1BF3lke1z2qbpQNNu72bnjVcaojbuo8Qk wAyw== 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=MkDgGBroT/y5F5XSN/UJ8SyQ+pLiuc+M5tvDMETc2Is=; fh=IPw4gxuybN5a6s7OewKvlwsB8Ny/rjOjrpG+eX7r1tM=; b=NEsT0zANAKwWQvqHjeqCE91Psk4pbSQ8r14f5imkDmZiGkvu07OxjqbQC6yycd/9py u28q1NH7ffb9/V4s8xH/ktlQbeHFnSC5Bf9t/yZJw+pMWNuN1utqmi/iD7pD3nIUmfpx 6cJfwlU8LFvJ+yLDSHlNjiP4XyFFB+X/4COWGLxGcIyo8je/s+crZWGOeSp5FyKW1LPb ZLacv8CE2wUknrkczkIFMosAV/OndtsQ5hmBBU7HVs4QLpzM3ArcEIyDzanjqr0RUm0Z aw4HIKXczvnQ1M92EaQH0056OIkf4TBwP44KFaLJXITf+RNC69Eh2un8bIIWUAYaGCjF QaCg== 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:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id i2-20020a63cd02000000b00585ad175170si2795705pgg.69.2023.10.05.20.56.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 20:56:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 2D49E808724C; Thu, 5 Oct 2023 20:56:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229918AbjJFDzw convert rfc822-to-8bit (ORCPT + 99 others); Thu, 5 Oct 2023 23:55:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbjJFDzv (ORCPT ); Thu, 5 Oct 2023 23:55:51 -0400 Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DB40DB; Thu, 5 Oct 2023 20:55:49 -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 1qobwJ-0007zW-2p; Thu, 05 Oct 2023 23:55:47 -0400 Message-ID: <6ab947df00886d80bd476121cd2c703eda91f318.camel@surriel.com> Subject: Re: [PATCH v2 2/2] selftests/mm: Add a new test for madv and hugetlb From: Rik van Riel To: Breno Leitao , mike.kravetz@oracle.com, muchun.song@linux.dev, akpm@linux-foundation.org, Shuah Khan Cc: linux-mm@kvack.org, open list , "open list:KERNEL SELFTEST FRAMEWORK" Date: Thu, 05 Oct 2023 23:55:47 -0400 In-Reply-To: <20231005163922.87568-3-leitao@debian.org> References: <20231005163922.87568-1-leitao@debian.org> <20231005163922.87568-3-leitao@debian.org> 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 fry.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 (fry.vger.email [0.0.0.0]); Thu, 05 Oct 2023 20:56:00 -0700 (PDT) On Thu, 2023-10-05 at 09:39 -0700, Breno Leitao wrote: > Create a selftest that exercises the race between page faults and > madvise(MADV_DONTNEED) in the same huge page. Do it by running two > threads that touches the huge page and madvise(MADV_DONTNEED) at the > same > time. > >   ---------------------------------- >   ./run_vmtests.sh: line 186: 595563 Bus error    (core dumped) "$@" >   [FAIL] > > This selftest goes together with the fix of the bug[1] itself. > > [1] > https://lore.kernel.org/all/20231001005659.2185316-1-riel@surriel.com/#r > > Signed-off-by: Breno Leitao Tested-and-reviewed-by: Rik van Riel -- All Rights Reversed.