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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CD0CC7618A for ; Wed, 15 Mar 2023 12:51:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230317AbjCOMvP (ORCPT ); Wed, 15 Mar 2023 08:51:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231993AbjCOMvO (ORCPT ); Wed, 15 Mar 2023 08:51:14 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 034428B303 for ; Wed, 15 Mar 2023 05:51:13 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id rj10so8125695pjb.4 for ; Wed, 15 Mar 2023 05:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; t=1678884672; x=1681476672; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cZkbtoWja85fMLAbjXK98n41T/e7K5OhmawF7QD5eFY=; b=bF+iZZkg40UqrsVEUQ/fdqKax2RZLHQVGPSVjvFW4QDzwVaPa6RrvqjDS5UEoX/wpi o/VnZDCP288oppcit1QsMrBMIM4BVDfcEt4JgypAr/JIjyCqVFtah0iWYN2xhnPir9Cz sKtw8Qf5K0UgbzktJxeq1B0bG4oqgGtU58K3kWkTBhhEGeq4grRGDga3ocWxvwnRxrvk pEPQR0v2cxDvyz/HZqTEDr4AvjQj/BhyZm5M+ZDfps6IT1xaz1DeFBUAL1u5eivcP16q /jGik346ZKOzg3ufG7iUiSaRLzNfgMZQi6VoehmHoPZ16b2RGSdLZjJA0Tu58Bo5IF3A GP/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678884672; x=1681476672; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cZkbtoWja85fMLAbjXK98n41T/e7K5OhmawF7QD5eFY=; b=dyaindjbfk0x9zK9jHe376GRkOtZ0qCQ0U4wTSjsEkVqoZXgFKGeuETApUXlaax1Cu D84ysmATDZ3CTU+pIlEwFpKAfIbdya2SNyxSO5EhDw1Py89zyb9Ei9u44c+E2g8FlDht mWXDEdhzN5A+QQJ3RTxw/evwao0L+7z4Snazi9oU9FRZDar1dTAYDuVLVjFii7jYwMbX OnQx7DeKl0MNsjzn+MN83KU+AqZYMatZmV74kc0Du2Pt+P7YZsjng0HBNufBOZeSdMCf 6BGZ9GLVIXsXppSbgpsT2cwWmGE+PONVRa8Kb1vsqE85j+vBnMQKIbyP4Pr0a8td4AOX MaWQ== X-Gm-Message-State: AO0yUKUopykYle0TrpE6X1vAvrZ0iRxOIEx+qonlIVIZygfXslzokFEh aAWldYgbqdUJXWGE14yhmL0Edg== X-Google-Smtp-Source: AK7set8mvMQnqXHAGVcsRNhmtQR25abfMXdfnIlu0KcIHFJ9oK72G+0n3KhChD9cmn8b8rdohn+sbQ== X-Received: by 2002:a17:902:b713:b0:19a:7439:3e98 with SMTP id d19-20020a170902b71300b0019a74393e98mr2565786pls.4.1678884672475; Wed, 15 Mar 2023 05:51:12 -0700 (PDT) Received: from [127.0.0.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id kx15-20020a170902f94f00b0019f387f2dc3sm3618298plb.24.2023.03.15.05.51.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 05:51:12 -0700 (PDT) From: Jens Axboe To: io-uring@vger.kernel.org, =?utf-8?q?Michal_Koutn=C3=BD?= Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, Pavel Begunkov , Daniel Dao , Waiman Long In-Reply-To: <20230314183332.25834-1-mkoutny@suse.com> References: <20230314183332.25834-1-mkoutny@suse.com> Subject: Re: [PATCH] io_uring/sqpoll: Do not set PF_NO_SETAFFINITY on sqpoll threads Message-Id: <167888467141.25248.3419360093103116663.b4-ty@kernel.dk> Date: Wed, 15 Mar 2023 06:51:11 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.13-dev-2eb1a Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Tue, 14 Mar 2023 19:33:32 +0100, Michal Koutný wrote: > Users may specify a CPU where the sqpoll thread would run. This may > conflict with cpuset operations because of strict PF_NO_SETAFFINITY > requirement. That flag is unnecessary for polling "kernel" threads, see > the reasoning in commit 01e68ce08a30 ("io_uring/io-wq: stop setting > PF_NO_SETAFFINITY on io-wq workers"). Drop the flag on poll threads too. > > > [...] Applied, thanks! [1/1] io_uring/sqpoll: Do not set PF_NO_SETAFFINITY on sqpoll threads commit: a5fc1441af7719e93dc7a638a960befb694ade89 Best regards, -- Jens Axboe