Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp646072ybt; Fri, 10 Jul 2020 08:51:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWm/BZqz8lLLYvvp/EWcZ45lRp8A67OSiiCdIo9ankACHDdJWpXxst0Fnkj+07Lz4DdjmN X-Received: by 2002:a17:906:3850:: with SMTP id w16mr62867316ejc.205.1594396311751; Fri, 10 Jul 2020 08:51:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594396311; cv=none; d=google.com; s=arc-20160816; b=sMOEnX79/GeaY7KZ9Ob+nrZTAxWK7xRaJfMs/ig7qUTwismQiimrqaJG717rFls5a0 urc7zk7PV4bTa1WOsfHt+ZECJuYXnapkfa7rI5iMq1w2s6PSL8vAwayDaTJir22kJo2Y 9wOpG9n6hV1yx6KxHuvmcBdb7pTJ8kTlPE6KWMFC2L8zQR+WGbmygMJJ00uV1qnMi8QW QvsGZGasihzYU+53hXuHyUR9a7qKijxmsHiY1B2ctJoAB7J6MHJUs6v/n6sQAgKb7kfA /PUvkMXVyBPG8SvcK9lL9I8+VlAY1CZzwXDd6ijOoMkaSGAr/FxZj+h4XX0bi9xDrT1h NL9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=tLZrBdy0w31KZDLXNkpTiw91RFrAaSdIHK1Jn/JSlgQ=; b=YImf2Biy6DspWQINZZYZqNcZNgY96wzzKzVb6yFo9vazVIR8+mG6pYZsqVuV2W1mGG r/tzJjlILISVURbJT10/X93/SRf1dEwy4NZ3tOYG8Dm9wlfH+IUuhlTys6PiIqPHzgHc XvibN/gQXf0/bLDX0wxTX3LVz1I3Te1HRgh+EIKjqIaVx2NHTnj7Kr0jOBIoINi+UDg7 Qvh7jAvhTJc30QkSwpOuMn1feg1lXEpevFPpqV7Hylp6BH1uD2NwDqE+zv1GpEugGGNX Czk9+1ZpUaoLjhSlWpGJTzwu7QOsDaFmAkwlu2ETU2Nc57tWbkGJCVzaXMVqCy25mcz+ h+KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=h2cPnUAg; 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 x6si4122201ejw.73.2020.07.10.08.51.29; Fri, 10 Jul 2020 08:51:51 -0700 (PDT) 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; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=h2cPnUAg; 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 S1727899AbgGJPvT (ORCPT + 99 others); Fri, 10 Jul 2020 11:51:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726872AbgGJPvT (ORCPT ); Fri, 10 Jul 2020 11:51:19 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78281C08C5CE; Fri, 10 Jul 2020 08:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=tLZrBdy0w31KZDLXNkpTiw91RFrAaSdIHK1Jn/JSlgQ=; b=h2cPnUAg2Oof0ho1HY+J3aavaW HTndCaBqX2gGrZiIlx74V6h9Y711Jk0gyor1Ev/EIHYMJ/TybzeMuqim0FXo5hFbJKY+2XqHOb5a2 8+OyogCM4INWoACgZ5Kir6GxSVS6pzmxCm2c5BEhU+0zqZIzRR+n8ZK44I9+HIuyzMjpsYByAxmVL hYE2jase8rHtb3MAvBOUXJUXyYIQ23ZzasSEiLDLZ2hdzx7xZHqtqOXCaa1OO1VtcsAXlkBfdX41V pzF4x7lrZu44U+G/WvKUxt0ws2NrXvBMfSgbGbtYfz4FVNv3gPcvp1r8Pyxi1rSoMTFnLy5w5Wanu lzI/ARmA==; Received: from [2601:1c0:6280:3f0:897c:6038:c71d:ecac] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtvIw-0002BS-5c; Fri, 10 Jul 2020 15:51:16 +0000 Subject: Re: [PATCH] kcmp: add separate Kconfig symbol for kcmp syscall To: Rasmus Villemoes , Cyrill Gorcunov Cc: Andrew Morton , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200710075632.14661-1-linux@rasmusvillemoes.dk> From: Randy Dunlap Message-ID: <8985bd54-0392-28c0-936c-fb1c2a0010e9@infradead.org> Date: Fri, 10 Jul 2020 08:51:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200710075632.14661-1-linux@rasmusvillemoes.dk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/10/20 12:56 AM, Rasmus Villemoes wrote: > diff --git a/init/Kconfig b/init/Kconfig > index 0498af567f70..95e9486d4217 100644 > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -1158,9 +1158,20 @@ config NET_NS > > endif # NAMESPACES > > +config KCMP_SYSCALL > + bool "kcmp system call" > + help > + Enable the kcmp system call, which allows one to determine > + whether to tasks share various kernel resources, for example Either s/to/two/ or s/to// ? > + whether they share address space, or if two file descriptors > + refer to the same open file description. > + > + If unsure, say N. > + > config CHECKPOINT_RESTORE > bool "Checkpoint/restore support" > select PROC_CHILDREN > + select KCMP_SYSCALL > default n > help > Enables additional kernel features in a sake of checkpoint/restore. -- ~Randy