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 60C0AE92FDF for ; Fri, 6 Oct 2023 03:55:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229894AbjJFDzv convert rfc822-to-8bit (ORCPT ); Thu, 5 Oct 2023 23:55:51 -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 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org 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.