Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2264474pxb; Fri, 17 Sep 2021 06:08:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqdItr8vKlQumfv6q2XPalvsFbQuGYEGNkgJBjOSHQqi/8bXwsp8G0FRgzesOrsE0Lzexu X-Received: by 2002:a5e:8e4c:: with SMTP id r12mr8727896ioo.73.1631884096650; Fri, 17 Sep 2021 06:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631884096; cv=none; d=google.com; s=arc-20160816; b=hXBOduAd58rZsPwYCKvzHm4JEXGC2nyIplzh3h59s/aC0WzWp78yuel3im3nzrdO9x 3XdCic3yjW/t/z0qT8Y0zcgzhmCW27GCvRfAsl4D6rtQ0nG5j6uA95ThEmeKVEB78aIV I+ZU8Z1jLKRj7OMKAhwePST2Auhi2W4s9NAr8at8K7hjWVsIbyIhVNThsw6ABbT0+d8r Mnknl4DD1JMzNzhhgHBghViChV/Y76zPawAwYu++bSes/JZvrK6Q61/SR0na7xpt19au N5klJuCZI/7N50cVOQb9pVXqTnP7xgvBFXHHgdM+jSOx4DVoFoltOG1WF8+CJCRHP4zc sEqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YK8khSyl2xX+jHd+eUzLYa7jXWZ6y9Xvg5caCBnq2nY=; b=q+eepbnC/njUsnME5oANTfmtpRIlhu//Ibbex+xhAHu8aP/RhUzcP50ZFv+0h2d4N6 Kir4FzfG0pwFgHV0h5lIL1eH7pj49uwLtSd65Ti8NFmG+FsIDDjxz8X7Ucwf4hoXQ7OX WOPLLoXsl7cFI47oTkMPKZ5t2lKTjyrLi1CNBKb3jc0WXjjQeJ2++nryVVOOMtGbDZrm kq2mOarwGE5zbiGB73qPjNiuyzdC0qO4meUmLNbjyTU7OTfblGPmgZ4Bg5lbBeimyenF FZ04ozQZuYvd/V+70iDmclk6fk14GOHSyfhCi0Shr8+Kpyg2Ynwy3EN/AKUC0LXfp1J8 3cBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=TZNzPq5L; 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 s9si6040552jaj.98.2021.09.17.06.08.02; Fri, 17 Sep 2021 06:08:16 -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=pass header.i=@infradead.org header.s=casper.20170209 header.b=TZNzPq5L; 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 S244378AbhIQIJZ (ORCPT + 99 others); Fri, 17 Sep 2021 04:09:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244197AbhIQIE0 (ORCPT ); Fri, 17 Sep 2021 04:04:26 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8706BC061574 for ; Fri, 17 Sep 2021 01:02:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=YK8khSyl2xX+jHd+eUzLYa7jXWZ6y9Xvg5caCBnq2nY=; b=TZNzPq5Lbhh3Y1pWBZ6aBq6u80 2HidQwWgaSKaFdyLuyGpnkwWreG9bDozfD3PbAZLj5Hy0ggEUcTgF8I6hcpOktWZV7tiCTHCutJoX 8vVStd5XpR0V+rCk99mwcmxJSY2ToposiiIZNY+aMhJv7GJ+G8mKdTnptbD5jhpNMnJ6adShTCuba ASJCtaAKLzTuKPzxYlGbFzYihkt7MCunyuysjFPYeBnwobA8oVSwueyxvhVaW564Gjo6OSM3nLTWh SfQewKAKwI6T3QsruYKBEvX9gb5JopexkJrDd21D8IFZC5E8G22nsqFaMKOnCEzWKEhAhfazRTQ7x W+/s2d0A==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mR8ny-0002gf-Dm; Fri, 17 Sep 2021 08:01:18 +0000 Date: Fri, 17 Sep 2021 09:01:06 +0100 From: Christoph Hellwig To: Christian Brauner Cc: Christoph Hellwig , Mike Christie , stefanha@redhat.com, jasowang@redhat.com, mst@redhat.com, sgarzare@redhat.com, virtualization@lists.linux-foundation.org, axboe@kernel.dk, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/8] fork: add helper to clone a process Message-ID: References: <20210916212051.6918-1-michael.christie@oracle.com> <20210916212051.6918-2-michael.christie@oracle.com> <20210917074440.qwo6anrtxa7lj657@wittgenstein> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210917074440.qwo6anrtxa7lj657@wittgenstein> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 17, 2021 at 09:44:40AM +0200, Christian Brauner wrote: > > generally want a printf-like varargs caling conventions. I'd also > > much prefer to hide as much as possible in the actual helper. That is > > build a helper that gets the name, a flag to ignore the singals etc > > instead of exporting all these random low-level helpers. > > Yes, I think that's really what we want here. In a way this would mean enhancing the kthread API to also support I/O threads.