Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3809425pxb; Sat, 13 Feb 2021 09:55:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9ZmjOuWZnlRf5vXSKTR/BXgMH4TOj3I2ESqP6OVGkkqkGC5OrZUlKhW62EfgXhjYlHfjR X-Received: by 2002:aa7:c6d9:: with SMTP id b25mr8754376eds.84.1613238925652; Sat, 13 Feb 2021 09:55:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613238925; cv=none; d=google.com; s=arc-20160816; b=ZdZSE6Ne2XZyZCBPHiCrxO9y23EjkZ89IZ/BzPQLzSgFMFvGOY4dWLQeE6dBcYj6gs 6Elm+YI7AGXHF/ExO7Z1Qvwo7itbSzKU/JeJWsl5Gc0+jj8IrQHB+JWgANo+aofVGUPa JZIKf264uaLyTbtlGav/+FbB89+1+JtW9a/IkZ/mzlK1cU1Smpxv3/JcDtj4Q7u7NAI2 NztZh3fYoy+cRZXGkKyB75nn16aOuJqMnPZ8jfoFBky3uYHN//NbdbeT10t/qvvfDOjm k+JA+46liff3gJgqmLo2tcnLcWz6SIOyJp/fLvCtVBfQul3XqOTfoiAU8/pWFMCm/Sat rF5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Dg3XdQhF5nmhRaPTavuOVwGd//1n13lRQXmIbk7ftKI=; b=V/iHx5Hn19L4w5NFFyU5x0p+AgP3MDseeKvf/WfdxOT59sOOoxtZJ1aZmmr204IXOC j7mf3A6G7PRQr98DNI6MZ7cAPmnod0g3xuvm6q9BIx2v1Z5Kq+y88rhXGHUQF2OztO79 SzpHSo143WHZxZk8iO+/u8YKGmuFOTccvJSYld6cQyNOi20RHQ2+gcoDbWJcYGTGaLLQ Bts834nJrtLranLvVAKlMcMTh6wX7RFZ2xfvmKYEEHVEB/fbRmzm7iWGWbc3tJz/2K49 iLekoXH9CXNPJF1wZVaJWEVowMgaqUGZ6hlxKf78bze9MidKObhr+serAJGe4JUe8ero 4Q7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h15si8185045eje.285.2021.02.13.09.54.21; Sat, 13 Feb 2021 09:55:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229660AbhBMRko (ORCPT + 99 others); Sat, 13 Feb 2021 12:40:44 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:49652 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbhBMRkn (ORCPT ); Sat, 13 Feb 2021 12:40:43 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id A53E41C0B77; Sat, 13 Feb 2021 18:40:00 +0100 (CET) Date: Sat, 13 Feb 2021 18:40:00 +0100 From: Pavel Machek To: Chris Wilson Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, Kees Cook , Andy Lutomirski , Will Drewry , Andrew Morton , Dave Airlie , Daniel Vetter , Lucas Stach Subject: Re: [PATCH] kernel: Expose SYS_kcmp by default Message-ID: <20210213174000.GA31409@duo.ucw.cz> References: <20210205163752.11932-1-chris@chris-wilson.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <20210205163752.11932-1-chris@chris-wilson.co.uk> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Userspace has discovered the functionality offered by SYS_kcmp and has > started to depend upon it. In particular, Mesa uses SYS_kcmp for > os_same_file_description() in order to identify when two fd (e.g. device > or dmabuf) point to the same struct file. Since they depend on it for > core functionality, lift SYS_kcmp out of the non-default > CONFIG_CHECKPOINT_RESTORE into the selectable syscall category. Is it good idea to enable everything because Mesa uses it for file descriptors? This is really interesting syscall... Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYCgO8AAKCRAw5/Bqldv6 8viIAJ4mzr9pSE2O/4OwUYOLcFI483BApQCgniMQxMn6hxhFTRfMPW42oJKV/iU= =X1NG -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--