From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C160C43461 for ; Mon, 17 May 2021 23:25:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A0C461350 for ; Mon, 17 May 2021 23:25:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231318AbhEQX0h (ORCPT ); Mon, 17 May 2021 19:26:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240516AbhEQX0g (ORCPT ); Mon, 17 May 2021 19:26:36 -0400 Received: from out1.migadu.com (out1.migadu.com [IPv6:2001:41d0:2:863f::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AFBAC061756 for ; Mon, 17 May 2021 16:25:19 -0700 (PDT) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpwn.com; s=key1; t=1621293916; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=luP+IIIcjcSoD7A4/FoLgXOAyS3hVQ6hBIMQ1v9/C3g=; b=cUr0akqvzktpNbRMhGyJvOv3I/nBFot6f13Uk6+BnV4tbv2sNj6tt3FFLZpMiHlPsdINL1 SLgJRLwf7qXtXDclyMJAoEIDiKIONBukvYr9q8bN/utKrDNbpmrNCabkQpF4UL6mVRUqt/ qzge8YGqSmygi7owCfaRqYbNkP1D7qltSKElTSP9wtqFyJEYzfvt6cCUIVEs/9fBu50eGc //7SOuk4Hrs92k80ePzgibecaj/pOqcqLHGgqrRXhK7/teR3nSjXlNCOM/BgGdxo93N7JM 0JklMl72aV6Fjgp4jg79OyYDQXLNClKsaxfJ2vdIrUVM1fnhU7cHtmUxJUFZrw== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 17 May 2021 19:25:14 -0400 Message-Id: Cc: "noah" , "Jens Axboe" Subject: Re: [PATCH] io_uring: add IORING_FEAT_FILES_SKIP feature flag X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Drew DeVault" To: "Pavel Begunkov" , References: <20210517192253.23313-1-sir@cmpwn.com> In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: sir@cmpwn.com Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Mon May 17, 2021 at 7:19 PM EDT, Pavel Begunkov wrote: > On 5/17/21 8:22 PM, Drew DeVault wrote: > > This signals that the kernel supports IORING_REGISTER_FILES_SKIP. > > #define IORING_FEAT_FILES_SKIP IORING_FEAT_NATIVE_WORKERS > > Maybe even solely in liburing. Any reason to have them separately? > We keep compatibility anyway What is the relationship between IORING_FEAT_NATIVE_WORKERS and IORING_REGISTER_FILES_SKIP? Actually, what is NATIVE_WORKERS? The documentation is sparse on this detail.