Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1078845lqj; Mon, 3 Jun 2024 09:29:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWT8lj5aM36PP5HQgpAlY71GMbeXRszj6fhtz3VmApWzRS+/2D4R2z5NWSyugIfJL/a8SYqmkFLS1FhpLH/QPPMNBQ3AdIikOh0A678KQ== X-Google-Smtp-Source: AGHT+IHCIBRu8Wv11EbSzzqW3uVxXhmgM2M51MUpvpPWYv5XeoiEJliX80PdUiD90Mn+okYBCWXw X-Received: by 2002:a05:6214:2b81:b0:6af:bcb0:c29c with SMTP id 6a1803df08f44-6afbcb0c478mr28019436d6.10.1717432170668; Mon, 03 Jun 2024 09:29:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717432170; cv=pass; d=google.com; s=arc-20160816; b=RZOnmKBnGf4B73EjsPDO53xnRKe2DoPjXCGEdICRZsv23ZMxAR783erBaOix8ZbpWt 6V09LsW4Lxuh+aAYcUxvg5zmyn4qOTY52E3DOl2dBVHzU0KYMHuGdtej27kmkLeohmyr rhferdRF9APxwEzUo0ss55FehFfS28v2OQMFxAXEteP7aRm9xiuqHiIfQGP6mA/aN/QC YpK4Q3QBVhhnPOimGunz03up5nz7BmnPFUK0IIlv3K4NGeF9ZLhbCoiYkFcHib1SmdKb hMSkL5hhzd5fDI1Bb9eDLX4DPrBAk9HRU9jxO8RDWWbUektnRJ6Hs8EY/9LF+FeCSmdS lYEg== ARC-Message-Signature: i=2; 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:dkim-signature; bh=9/e8pCS+vXTJaB2sWPBXtftsL047zpao6B+GIWUGJ3g=; fh=4aFqpUnIqMDOrwy+UmOMpnRfEf8T6kx8IgvViz56Qe4=; b=S38SJEuYMuPHhahI6A9GuRnisMEhiUW7Yl3FFDd8Z8rKbLqRZz1qxpBfsacO4yA14f WgD/R3tG127nbGWR5WzvycZLVtjCDf7B1h6k61K9Optu1rVnWjESa7x1ZPiRFdOxXBXd y4yQhJdJsm4/O07ZKbEKyg1EIGEC1rDX7CeTNWCEVCfQyYajRsqffhSygCqDcmOq0DbD 4ErHGrqmk8NM1iNeSpCs4rqSIAHOLap4ibQsoxqendCqtQUb9MxjDQ9S6YbsTi2G9M4o lppSX8W2LiP9obBT23o7G4vIF3VKRxafizZ9IZ47N2huTTQzh8EXxKF9D86zjpdngY6p aq6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XTDQCUZ7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4a741e86si88131816d6.139.2024.06.03.09.29.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 09:29:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XTDQCUZ7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0EAEB1C21E34 for ; Mon, 3 Jun 2024 16:28:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADB451369A7; Mon, 3 Jun 2024 16:27:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XTDQCUZ7" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C0ADB132134; Mon, 3 Jun 2024 16:27:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717432072; cv=none; b=fHfa9D5SnfamtRjxlaQtTaVIvqi6zDjsq3qx6yseItXeAizt2r3H7+qHNnVHBnfu6XWOBm7DGzJobLhL40UgsDrtdheglEBcDFnO3EB5N45yRzo7qLR90BHmEN8cKJENGJqLsuAUWldGupQiE3tmmSxSdyugn3tEnzQwSuyW9pc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717432072; c=relaxed/simple; bh=oRnkuVfmEo68h8xsojH0l6YCZM7vKTDbSA9MjVX8lcI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UkAUgo4ChS62jfRRc0Il/QszXYDEKcSLFn4j/vz1tCRA5DOU/FudeZKXOq+c6bUG92/suswTOTiPz6IvYKNYCWrK8Y3e4zAHaJEVQuof/G5VSNYFt80q4b4uKHLYYM4YeUsFlQZBbBfuAVi8TdKPsyE5fo/XvJsYZB0vmbwYWls= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XTDQCUZ7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94A0DC2BD10; Mon, 3 Jun 2024 16:27:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717432072; bh=oRnkuVfmEo68h8xsojH0l6YCZM7vKTDbSA9MjVX8lcI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XTDQCUZ72bRlkxaGtCsAqytSxIUqNNsLDD45miaFV68weGEv3pg0ZBst7gtAFNIHg zItZc18cuDfFBVyrhoFztU2cZCGIWsYIvFgCm3YdtCqJJawZ7JI/Rcfw6x4j2IZuNm wwJJnVm1re9PVNhckzmO4qN+yp2hxSTVPI17Q40/w4gqcKB0pn1NhpOIhIbwfXZjFQ gn+dAf2KAveEpqKNb2RKKaxGVKty3ReE8eF2T8HVjYENoq4KpNogOFm0XQ+8Lrd6xP UG/I+9/1iOTdEh21gPaiAwQKeyuOEKiy2a32p5eL1hmUC05Z/BUe9Seec1FGNDQq4x 0f06xk90PpiYg== Date: Mon, 3 Jun 2024 17:27:43 +0100 From: Mark Brown To: =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= Cc: Christian Brauner , Greg Kroah-Hartman , Jakub Kicinski , Kees Cook , Linus Torvalds , Sasha Levin , Sean Christopherson , Shengyu Li , Shuah Khan , Shuah Khan , Bagas Sanjaya , Brendan Higgins , David Gow , "David S . Miller" , Florian Fainelli , =?iso-8859-1?Q?G=FCnther?= Noack , Jon Hunter , Ron Economos , Ronald Warsow , Stephen Rothwell , Will Drewry , kernel test robot , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v7 04/10] selftests/harness: Fix interleaved scheduling leading to race conditions Message-ID: <187423fb-ec78-4318-9da0-5b27df62b71f@sirena.org.uk> References: <20240511171445.904356-1-mic@digikod.net> <20240511171445.904356-5-mic@digikod.net> <9341d4db-5e21-418c-bf9e-9ae2da7877e1@sirena.org.uk> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fOjdVNyedpGvq4UL" Content-Disposition: inline In-Reply-To: <9341d4db-5e21-418c-bf9e-9ae2da7877e1@sirena.org.uk> X-Cookie: Don't let your status become too quo! --fOjdVNyedpGvq4UL Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 27, 2024 at 08:07:40PM +0100, Mark Brown wrote: > On Sat, May 11, 2024 at 07:14:39PM +0200, Micka=EBl Sala=FCn wrote: > > Fix a race condition when running several FIXTURE_TEARDOWN() managing > > the same resource. This fixes a race condition in the Landlock file > > system tests when creating or unmounting the same directory. >=20 > > Using clone3() with CLONE_VFORK guarantees that the child and grandchild > > test processes are sequentially scheduled. This is implemented with a > > new clone3_vfork() helper replacing the fork() call. >=20 > This is now in mainline and appears to be causing several tests (at > least the ptrace vmaccess global_attach test on arm64, possibly also > some of the epoll tests) that previously were timed out by the harness > to to hang instead. A bisect seems to point at this patch in > particular, there was a bunch of discussion of the fallout of these > patches but I'm afraid I lost track of it, is there something in flight > for this? -next is affected as well from the looks of it. FWIW I'm still seeing this on -rc2... --fOjdVNyedpGvq4UL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmZd7v4ACgkQJNaLcl1U h9AM+wf/ZmkJuaskXgcwXDXT1jI3wnrjvwPBo1nyTsX3wcmiDZXCGtR9qwuVn+XC 0N4ICDlxmX4lBZ8v6GJhe1blCagYT9WHp5g6aVe5D/kAf7m0IJG+I8JgPWjjg0J+ QIZ6vf4WjCml2ZpHWv/gB8ZAJeZyiRvpKlldLnZfrzJaGQFx4hhIj2G44jUa4T1y 3yHEgwaZfeeAYa2jZ1sZYD74zrPceqOUF38syHzbT9OgKDbPxXtI4KKDjXwe/aTp 6IOZMgeT5ivv0/47+PtodbX2QXl/5fSpQ/LOUW55xzIarOAhPx2EsfcBQW6RTaAv R7Vzezy0MyONRIEvmdT1iCjwnlZvDw== =tzUV -----END PGP SIGNATURE----- --fOjdVNyedpGvq4UL--