Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1218665pxb; Sun, 12 Sep 2021 11:30:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIC42z3CzNdJtwetLtLqpPqtpaJLTeoTW2KPOsiMM0DxriXrIqDyMfhuYBDTNlADry3jZJ X-Received: by 2002:a6b:6f18:: with SMTP id k24mr6040856ioc.196.1631471438716; Sun, 12 Sep 2021 11:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631471438; cv=none; d=google.com; s=arc-20160816; b=qVuxftAKuGpf+nZJoqe6xbCCMPafVp5ghRgWmXVCSQcbw83SZOjiRbtJWapp3Oj4sb reXE1K8Bzk+LHELf0H/wNJIQM65ce7uBDmeYuVC5mufTOMXf7aRnbqlHx25dD0zj1WSq ZSW+hrFUk5u8a/EoEfzYQ41XpVkLS2dgj/y90/QyebyN1Z4TDBBhf0LcmJyUWXOJsSS9 PUzJniTqOaLhCvLf/YV7/m1DJGHdBu9quBqNKgGR+KJ08U5oQZhBTyN7B3oTbupvQLNq XUb+E3IMbUqQaKaYpQ2m5IMSE7UMatpgSIPzvq3UHSVogVAcdit7S3rqdUO/Wg0Vkq5/ Wu4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=3rarLVmhjlYCLBQP/dFIghpuLAWbLj88vP6T0e8keIE=; b=Dn+9r/3qta4StEzJm3xrF9L2o6Gwbla7F1QMvs/EIavn1u7Dk8f6o8uazLnO5hXeFP 1A7C/G1zlNQII5a9yPRKzejNLhOV9R5XDd9caWvHv03ssF4Gggs67dOWPB9TXy9oYBYl /n+59yuNSoTojIYXXqqZ/53Vkyb7yD5srHIfR44UgMTWslKSgsARCk6kPGhN8k0PQ427 JvddYHWkVRS3WBVK2i3SOBetlSK8ZNa6Kg4UCrtwuZeQfTJaT6ceMkCTH3v6fDXDfmuc qJUCJJc077+LNobi7A5Q64z87Bde4ZzoekkY/xJPhucuHa/Tac5JOL3C4cFMytJb7/mn l3NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=hLJBZhwu; 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 m18si5451401jav.88.2021.09.12.11.30.27; Sun, 12 Sep 2021 11:30:38 -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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=hLJBZhwu; 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 S229653AbhILSa6 (ORCPT + 99 others); Sun, 12 Sep 2021 14:30:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230370AbhILSa6 (ORCPT ); Sun, 12 Sep 2021 14:30:58 -0400 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FBCBC06175F for ; Sun, 12 Sep 2021 11:29:43 -0700 (PDT) Received: by mail-io1-xd2d.google.com with SMTP id a13so9188837iol.5 for ; Sun, 12 Sep 2021 11:29:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=3rarLVmhjlYCLBQP/dFIghpuLAWbLj88vP6T0e8keIE=; b=hLJBZhwubj3JFpf6gdUSuPJmM5Xmwh7RET4YKzt2SytNGLpRpOJ14lAHyDpi6j4WqQ tjBdsWafGKD1e5q5YmgdAYMJhQmein+qYM41GAeATMBt4Erj9jK5vRcswwWsRCdgA1Zw o/VEPFpZW119IBYPwQ8G4aYDv9rsY3mSYhA2bKMlBjCfBbTo0aywG+NwqCL7QFktudtr cNx3b+ewrzljtTpzD3veBLObjp2FNGcqrq2sQyGOdwHxG68yutrkclk06Rg20cVRroD3 jY8jL0yXSs0aYVUDPUeAdJrARHPKRGEaKYZLdPtSOdRgAq+R9KR6iJ8ZrEaeIq7uGoGc Exrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3rarLVmhjlYCLBQP/dFIghpuLAWbLj88vP6T0e8keIE=; b=vFPJZSjORyyl9g+qVZdrQJQqvB6gClKzW5E0P2Z1A+XSvqvoZoPa9D9R+54JUU0la6 5oKLCxLm6nyv+lZg76F09+A9CxHe4mdEKPkb8Tx9SEbKObCrSeFc1Pn0BA+6G+kk4j7t UtTFxxV0DhsIrMdj+60hY5Hknjzf8RB4Hu1+gP1xWlw29eYTo4SN43clwFbAXaMHLm6Y uzy3ofK73GwLvuSUxx0fPujvYSyvYaaaMheApkXH0bY76vOfDo37wQ9TVGAAjn8RLCQ/ I2TNN2AXaDJZNRsbDJFRFWvFWkfwCdXsCHE/mViPrnJGIbEASUvZUNblW4BADUZBFQtQ /xlA== X-Gm-Message-State: AOAM533W5Mbu+Hr0MVFbA32e1JnVByjB3FljRDe5Dn59j1E2683MY7Pi fy4TD0ThTatEpKmHG6o+EFAIuQ== X-Received: by 2002:a5e:990e:: with SMTP id t14mr6060888ioj.75.1631471382926; Sun, 12 Sep 2021 11:29:42 -0700 (PDT) Received: from [192.168.1.116] ([66.219.217.159]) by smtp.gmail.com with ESMTPSA id b8sm3212270ilc.41.2021.09.12.11.29.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Sep 2021 11:29:42 -0700 (PDT) Subject: Re: [PATCH] io-wq: expose IO_WQ_ACCT_* enumeration items to UAPI To: Eugene Syromiatnikov , Pavel Begunkov Cc: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, "Dmitry V. Levin" , linux-api@vger.kernel.org References: <20210912122411.GA27679@asgard.redhat.com> From: Jens Axboe Message-ID: Date: Sun, 12 Sep 2021 12:29:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210912122411.GA27679@asgard.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/12/21 6:24 AM, Eugene Syromiatnikov wrote: > These are used to index aargument of IORING_REGISTER_IOWQ_MAX_WORKERS > io_uring_register command, so they are to be exposed in UAPI. Not sure that's necessary, as it's really just a boolean values - is the worker type bounded or not. That said, not against making it available for userspace, but definitely not IO_WQ_ACCT_NR. It should probably just go in liburing, I guess. -- Jens Axboe