Message ID | 20221112221939.1272764-1-longman@redhat.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1454325wru; Sat, 12 Nov 2022 14:47:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf5VwphmXpZut/5oOuTrv1xvAc/RBC1DtWfdVVz67pJUORmiiaUCvaPXFXi2rNPQdfcgyeX1 X-Received: by 2002:a17:90a:7085:b0:212:ca73:4d6b with SMTP id g5-20020a17090a708500b00212ca734d6bmr7790000pjk.16.1668293225307; Sat, 12 Nov 2022 14:47:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668293225; cv=none; d=google.com; s=arc-20160816; b=keIW/8vJq/3relvDyRAtR0eNlXc4hvfo0Kkq+oZgODqyCQPXtGJG143igZhkRuH6tQ jMa3mPWq5mcpUC1jbYYvfrPWBOj3sn5R+2kn7Xm/zPGMGSdCD2yHrdttq8Y3ODRqXCDp IpMdGHGkGHy7lVcOcIb1VFY7V4ORQEzAaPZ+OXGHx5lqbBVwnQgPMg4iBZ5yDH8xNlh1 95jP+Kt8ZhVLLc/XArqxSlOpV5PSho5z0EwE6ICv/BihAJqgfqNQKUKHfKzF3u2MHLyn XYZd860TSxsk1WNGZpVRXrsuhzwtLWp9yoCro/I2HhZufLLhujebTYl0Zs3MoY84WQyb OQTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hPqQ7pS391n2tdE33js5OayByAWbyhFUU/9GmPjNmvs=; b=s4E0A3uFSO+R1iMLrtKbu1t/CVwbDsQqJ2IzDNuVpDaeMr38YfS4R6wnw1sllaUyyi veKnBCaWMfj4g73AJn4eLkocfSr4tXHPdUbIRh3zdbbKQfQ8Se+iwLCXnfrjCvK+AbDz xHl7gjn4Qr5mOAFj1g5JdasVXPdKjl3LT8OOtfvQNP4iGQLE5t5fdosgvGniYg9TcyXm bY7ke9dfNIU0eNlkbGW10HBIPOR4e8lRPZHAHAPbOBJtLUmOit08i/rhA+PAHaAXkuWo HUIlLoRnMZ7lLlf++hzQE8YNvGp49pLCaatcRMQrxv+/ppTNuPlFeWXQtDlK1p1BpocA yoVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TOav40Lx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u14-20020a63790e000000b0046f915df515si6456780pgc.29.2022.11.12.14.46.49; Sat, 12 Nov 2022 14:47:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TOav40Lx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235177AbiKLWVU (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Sat, 12 Nov 2022 17:21:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235139AbiKLWVN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 12 Nov 2022 17:21:13 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65CB2B1DF for <linux-kernel@vger.kernel.org>; Sat, 12 Nov 2022 14:20:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668291613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=hPqQ7pS391n2tdE33js5OayByAWbyhFUU/9GmPjNmvs=; b=TOav40LxkxNNwVgCQET5wLfqJ+wWUpw8YGCoqRyFbW/7L1ZDZTMw0QbNUGDbJXAq7pKnlg I0tcr/sXxxQBgk/z/iCLHCohuOf+l06xY6d4OaTpS4yNZyy4le1JQ4cVbjXtmGWTghYIOy G2M72YLr7b/gsNvXyRrBs4X7/02+Zqo= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-342-h7gYLtUcNRy4cGvi6gEDzQ-1; Sat, 12 Nov 2022 17:20:09 -0500 X-MC-Unique: h7gYLtUcNRy4cGvi6gEDzQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9409085A583; Sat, 12 Nov 2022 22:20:08 +0000 (UTC) Received: from llong.com (unknown [10.22.8.110]) by smtp.corp.redhat.com (Postfix) with ESMTP id DF75DC15BA4; Sat, 12 Nov 2022 22:20:07 +0000 (UTC) From: Waiman Long <longman@redhat.com> To: Tejun Heo <tj@kernel.org>, Zefan Li <lizefan.x@bytedance.com>, Johannes Weiner <hannes@cmpxchg.org> Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Andrzej Siewior <bigeasy@linutronix.de>, Waiman Long <longman@redhat.com> Subject: [PATCH 0/2] cgroup/cpuset: v2 optimization Date: Sat, 12 Nov 2022 17:19:37 -0500 Message-Id: <20221112221939.1272764-1-longman@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749332236764039472?= X-GMAIL-MSGID: =?utf-8?q?1749332236764039472?= |
Series |
cgroup/cpuset: v2 optimization
|
|
Message
Waiman Long
Nov. 12, 2022, 10:19 p.m. UTC
This patchset contains 2 patches to optimize out unneeded works when running on a cgroup v2 environment. Waiman Long (2): cgroup/cpuset: Skip spread flags update on v2 cgroup/cpuset: Optimize cpuset_attach() on v2 kernel/cgroup/cpuset.c | 36 +++++++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-)
Comments
On Sat, Nov 12, 2022 at 05:19:37PM -0500, Waiman Long wrote: > This patchset contains 2 patches to optimize out unneeded works when > running on a cgroup v2 environment. > > Waiman Long (2): > cgroup/cpuset: Skip spread flags update on v2 > cgroup/cpuset: Optimize cpuset_attach() on v2 Applied 1-2 to cgroup/for-6.2. Thanks.