Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp285402rdb; Fri, 5 Jan 2024 09:41:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOC3O5jvwnhb7hZhQ987hJAMG5B9t6Qjs6vW4kv1kyKHAe8hpGGudB1vIymEkN2e7gJaJF X-Received: by 2002:a17:90b:440b:b0:28c:3db:44c8 with SMTP id hx11-20020a17090b440b00b0028c03db44c8mr1919785pjb.95.1704476498779; Fri, 05 Jan 2024 09:41:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704476498; cv=none; d=google.com; s=arc-20160816; b=Rgbzuxm9SQJReKPF65v9z1fyy01/Uwtg0drS3Mq2j3/+w5mGg2IZ05P2trVc3VDYuS VtnIZtXlJhD+qCkx1CSec0Jg9TLh704uG31f6v2FN02ENYAACMaPvsJhk41SyQ3hXPF6 TfB0NOIhs0aIAXR50/mKDWMrLyhCNNITBMLR4+Pocj0IxyVeo17LfJ2xIETf8YQ33vV+ QgDH1igWFDjgJU2l5W/bnL0gGeEpJ3cFeQZToPx3OJpZBh7REDDc+T+gVcAU97fSKMDT 8KIXhT1GC+qpc4aKfk5CGBR9kfeFYk6lZAUjLULw0Bvt8J/liJLVA7FMAMaSd5v1XfP4 R3SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=MlUFws2gRA/RLYCi/5I30yTmPUCTa227qvusJyIYZC0=; fh=fAW2Bl4VUzMVYrI33ifZjrYCl2Rl4Ws2KvmaUs+LH/E=; b=XKzxVskNzIIRpTsw3sH1gXDINfIshNrG63vGtgsk573CQ74PamtiloXpNh+GdnpXZy HQME/m5O5O7dMq2xJ1lem+vGVjbf/C1W1X0I5ywnNgi/3zQqNFDBpdJbPQTK6XQgR/Hl PlXavFYE7a3BK+E/UTff0s24dNmBYNtBtAWavacXihMZikY35/gpMD9Lwmr4uMbmLVvz KumYYZtEfWBRwJxwllXGRkF1q+N1S7AMunsdVpRI4Nb1dbc68ZXefJFkWrYa05IjeeZl hBjnGF/69aKv+gu/6l7xB+qdlJNUoY3oRshEzApjhlac2/+q00yxvhnjiueNgvXzxxDG bGWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-18131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18131-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id mm21-20020a17090b359500b0028d01d2724esi1137595pjb.145.2024.01.05.09.41.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 09:41:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-18131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18131-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7C8E9B22283 for ; Fri, 5 Jan 2024 17:41:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 338C6321BB; Fri, 5 Jan 2024 17:40:47 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A4FE34CFF; Fri, 5 Jan 2024 17:40:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a29a4f610b1so35826066b.3; Fri, 05 Jan 2024 09:40:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704476443; x=1705081243; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MlUFws2gRA/RLYCi/5I30yTmPUCTa227qvusJyIYZC0=; b=RTf1HBjese2oFBNWJZ1BF6SIvM+bgCbQg+p/r8M3GDV+LjjjaaqmtqixqjwiklRy2W 7e+YaQcvY6cdXraj/+6wFlLaseRWHcaN1ud+6p50VTwA8y/PpcUJX0Jye0r7XsJ9iEX5 fuF+dPcL74hjF9xthKx6GyLYkR0VCBMJZwDzfdmwsq+SAX4tnZ4QgEHoaD+jVQB3IaIO xJXWE2xmwMSonrvj1+LruK0Yw5kYBFofNCbaEdU0O/gPQDK+tYf4LFeFuoJ8YcD1DnCH /ZfX3IadvqxIrTlnTp5w/YH5SRPcRz6FJHyGk959m33x6q5J2a9wQpiaDuT1zv4BN0dz Mqhg== X-Gm-Message-State: AOJu0Yw5O5IALlsUwdZ5Xf8WRwzEhzljidooIJa1GSvWnkPtd3yqEG4C fJ8sUuDBybtA6zUqaEzqKE1eCna+SBNr9pyV X-Received: by 2002:a17:907:2cd1:b0:a26:cdd1:d45d with SMTP id hg17-20020a1709072cd100b00a26cdd1d45dmr1151404ejc.130.1704476443506; Fri, 05 Jan 2024 09:40:43 -0800 (PST) Received: from gmail.com (fwdproxy-cln-116.fbsv.net. [2a03:2880:31ff:74::face:b00c]) by smtp.gmail.com with ESMTPSA id u7-20020a1709067d0700b00a26b057df46sm1084391ejo.126.2024.01.05.09.40.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 09:40:43 -0800 (PST) Date: Fri, 5 Jan 2024 09:40:41 -0800 From: Breno Leitao To: Andrew Morton Cc: riel@surriel.com, linux-mm@kvack.org, vegard.nossum@oracle.com, rppt@kernel.org, songmuchun@bytedance.com, shy828301@gmail.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/1] selftest/mm/hugetlb: SIGBUS on stolen page Message-ID: References: <20240105155419.1939484-1-leitao@debian.org> <20240105084238.306269c3f3a63cb0fd130baa@linux-foundation.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240105084238.306269c3f3a63cb0fd130baa@linux-foundation.org> On Fri, Jan 05, 2024 at 08:42:38AM -0800, Andrew Morton wrote: > On Fri, 5 Jan 2024 07:54:18 -0800 Breno Leitao wrote: > > > This test case triggers a race between madvise(MADV_DONTNEED) and > > mmap() in a single huge page, which got stolen (while reserved). > > > > Once the only page is stolen, the memory previously mmaped (and > > madvise(MADV_DONTNEED) got a SIGBUS when accessed. > > > > I am not adding this test to the un_vmtests.sh scripts, since this test > > fails at upstream. > > Oh. Is a fix for this in the pipeline? If so, I assume that once the > fix is merged, we enable this test in run_vmtests? The fix is not ready yet. As soon as the fix lands, I will enable the test in run_vmtests.