Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2163568lqa; Tue, 30 Apr 2024 09:39:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXjMq+t06ton/9eAfy7SuRO3gtsKouLP9ED+nM98eR2e9UVfMjisDGUg5N+ErVf95hlBw5HsdekwzZce2Ml3Y6E7mKB2TryyZP/nP9Ylw== X-Google-Smtp-Source: AGHT+IGDbp8M+axeJ6XA6+EG9q7R73IdV6afIdBQ2d0WMJWir3r55vGZ0B2zeO0h+e49yzboh+i2 X-Received: by 2002:a50:955a:0:b0:568:1248:9f49 with SMTP id v26-20020a50955a000000b0056812489f49mr235587eda.18.1714495175698; Tue, 30 Apr 2024 09:39:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714495175; cv=pass; d=google.com; s=arc-20160816; b=De1GhMMggTSxmd0BPvzrgnmQ8ys3QripJjB3iWiGSsHJhBxtfn555Ta8+h9wXWLhT5 zo1kb0/rH8vvvWIGju2lNqZY6LW8FBsSCFA6iTYHmoBZNfEYo1BiZ/QGN8Yk157HCx6x izEnpbKy39Iu5qVqir9yGdAjm+ZhfydFmxdkqHDxxtRTAOTRMOD8WgAJK5M+sYQA6lds QM7k62DtrZSzZ/UoQqxPY6JpnrFdJTVAeDWmFw0uJc5/oUTCbRdIjs1zw06zZQSZFDbN udxrykZpBoqqsG+Ibs6bD66v665EYH9XNvqxY7M9odA9xGrUTYJ4V066bGy7DEtWnNXF KsQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=slaFVAWAkYJqP7kPVHov6jtHkYZKKX4LknNN6OMaeHA=; fh=TmCgwRyn24VVxh4+5s12dTkmIU3YRbRZ/fARQS8Unj4=; b=MC643MkKnoQgLV1GoPnuznu4LcM92ZiJh5iVVOlW1c4/CgxH0c8jq/lQ4UGG6nwmtW vJGarQ4HeRw4vpxFNu9Pc7evs3jMIlLEjIb6FXKQTAkWX08ofWRWoMLhex63Vw8EIdPC bZn+s9NtKfni5KhaVO5KSbIAh1PnI62aw/B+OXbuxC/gTdjBTlsumOoygosLqDZaqsbd 2mWmb744d1XUEjgnWQaWbU+lZQtmSsv/rvZ0ZMbJAL8QkKuRYgvDALeBQF4lQNVfQoNd 5KkQF7Pl6L/FJqhqCgJUaF6ZKbtZjVrH4wYWIybs6a+VDQ3vSDH46RGQ64n0DS5ABrmq 5vmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b="p/5SfwwV"; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-164406-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164406-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l16-20020a056402255000b005727dcdb863si3063757edb.272.2024.04.30.09.39.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 09:39:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164406-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b="p/5SfwwV"; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-164406-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164406-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6ECDF1F20EDA for ; Tue, 30 Apr 2024 16:39:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19470176FD8; Tue, 30 Apr 2024 16:38:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="p/5SfwwV" Received: from smtp-bc0e.mail.infomaniak.ch (smtp-bc0e.mail.infomaniak.ch [45.157.188.14]) (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 CE8B1DDBE for ; Tue, 30 Apr 2024 16:38:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.157.188.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495128; cv=none; b=S+CkluTauvomDS4ax7eejrFHTSu1NolPgZX0vEecGm7uTw7cX0efAHa5YX7b7TGeuN6Eo5SJ38TZMhiTyBGp0TySoIQ6KgBn6oSD5s5KTSHd0eVF7X64TyjmxeVkP3OakHeDVrFPbct4GuOx1MHUncTuMQfxeQnhitaxl1QQYBE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495128; c=relaxed/simple; bh=TPJelmihLrbu2CVr5wwchjHw/2tE6/xg4OjvfPXki0I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=l9SNi49vwzChOUp9GVQLSc4KcGdALtMO2d1Td5bm04uTsSrDLfhfkrf/EOOkG0aTeUlofkHoFgS7w1YzGJyRw3ftOq1Pc2lYAaVy4TrxWRbHbFEz7XM82S4iT2JM4kzbEWWu6hqrKxbK7FzBrpjyFiMFVu6sniK3MUwSdNnrxkk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net; spf=pass smtp.mailfrom=digikod.net; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b=p/5SfwwV; arc=none smtp.client-ip=45.157.188.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=digikod.net Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VTQr24jsRzXDW; Tue, 30 Apr 2024 18:38:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=digikod.net; s=20191114; t=1714495122; bh=TPJelmihLrbu2CVr5wwchjHw/2tE6/xg4OjvfPXki0I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p/5SfwwVdJHMdwfAJgbIFlJi/EFyaIfL0b24setfBAWgSQct5pz7agheGejFzusfU 2YQmaML6iQDCxqrgUp6sQrcyio1h26NA2d52rY7YxoL4O5bXLmEDTCRvIew7aaPasv qWj0M4FVmfkQmHw8HYhQYHiwCfSAnrvnPhr/Wxyc= Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4VTQr13qVDz82J; Tue, 30 Apr 2024 18:38:41 +0200 (CEST) Date: Tue, 30 Apr 2024 18:38:40 +0200 From: =?utf-8?Q?Micka=C3=ABl_Sala=C3=BCn?= To: Jakub Kicinski Cc: Shuah Khan , Mark Brown , Christian Brauner , Kees Cook , Shengyu Li , "David S . Miller" , =?utf-8?Q?G=C3=BCnther?= Noack , Will Drewry , kernel test robot , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v3 0/9] Fix Kselftest's vfork() side effects Message-ID: <20240430.joh2lae1Ooch@digikod.net> References: <20240429191911.2552580-1-mic@digikod.net> <20240430.eudae0Mahbie@digikod.net> <20240430081304.0cc6bd8d@kernel.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240430081304.0cc6bd8d@kernel.org> X-Infomaniak-Routing: alpha On Tue, Apr 30, 2024 at 08:13:04AM -0700, Jakub Kicinski wrote: > On Tue, 30 Apr 2024 15:54:38 +0200 Mickaël Salaün wrote: > > Jakub, can you please review it? > > I looked thru it. I don't have the cycles to investigate and suggest > a better approach but the sprinkling of mmaps(), if nothing else, feels > a bit band-aid-y ????️ The only mmap that could have side effects on existing tests in the _metadata one, but in fact it would reveal issues in tests, so at the end I think it's a good thing. I'd like "self" to not be conditionally shared but that would require changes in several tests. Let's keep that for another release. :) I also noticed that mmap() is already used in test_harness_run() with results.