Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp719273ybp; Fri, 4 Oct 2019 04:00:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqw75VVPoKMPYLjPwHPnVFdb6Av1OlFJW29XTUCCxqKVW0ecY4xAhta+zfncw9ThMMXu2VfP X-Received: by 2002:aa7:d38e:: with SMTP id x14mr14834685edq.102.1570186837013; Fri, 04 Oct 2019 04:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570186837; cv=none; d=google.com; s=arc-20160816; b=NL7bHm885D3BFZUmJ+XkeHIWYHm6lmR3r7VDmlBhA4S58bZ/7o0dLDDTyOCXUBqd/H kI7YONkprKrnJFFLmDfjOjak4YHCJwEV7v6yT2iNVkMlXe4ZnLRNPwPpkSI2VWpy1AXs ziu3lZAZE3Pe6shKnivX8jue4ZWICODAe0gtJX6z7GAsz0UC8Zz5EqJa9fGIUX4llqk/ brMAJ4rPPKQlN6o+01Xq7BVDxmXdE9/KZgCDpQDx3Y6SnOkZlFKv7McKaq3JU7hmpZ1K 58tJk/iqIMtXgCDMVzN2Y5C5cxoT1Amk5mdrbzAVmI9UZRZeaZV6tU3DuQKraq6Uveav mWQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=UnA0KXpHMPVH7aed84Qy9qXviZjHzL56ZK4TBFdo/eI=; b=qWxctU2LvVptlNobut7wLc379fgB6hsILdGD2LATKfkCpOFG4pNjZQzDg+U0MT2ceh X78JLvkKJ7F02ZMKI5jFgY4N3DKp+rdna0hZ6de7MkjGv8IfBSsFPqg2sFOgV4Tgp6Z0 10UCyd7eFNeYC8Lh1ERmatUe9HsVMmfv4/MWfu38UixjRjWBl59jqiri0i30f1hhpOqz 9yLpdAnhIKi1MibbhV846Q7R8izAkWSC3oVVS+8EyParkBL9ocD0klUPpnO+llL2EGoD pIW+7Ro/KXYMLk7pcskF2YhDVE9jPnZcnO0qhelpc+0TIFxl0qaXBSz7MukV2nDSfrP6 yHdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si1519556eju.407.2019.10.04.04.00.12; Fri, 04 Oct 2019 04:00:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728045AbfJDK6B (ORCPT + 99 others); Fri, 4 Oct 2019 06:58:01 -0400 Received: from mx2.suse.de ([195.135.220.15]:55114 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725730AbfJDK6B (ORCPT ); Fri, 4 Oct 2019 06:58:01 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 4B278AB89; Fri, 4 Oct 2019 10:57:59 +0000 (UTC) From: =?UTF-8?q?Michal=20Koutn=C3=BD?= To: cgroups@vger.kernel.org Cc: Tejun Heo , linux-kernel@vger.kernel.org, Li Zefan , Johannes Weiner Subject: [PATCH 0/5] Optimize single thread migration Date: Fri, 4 Oct 2019 12:57:38 +0200 Message-Id: <20191004105743.363-1-mkoutny@suse.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. The important part is the patch 02 where the reasoning is. The rest is mostly auxiliar and split out into separate commits for better readability. The patches are based on v5.3. Michal Michal Koutný (5): cgroup: Update comments about task exit path cgroup: Optimize single thread migration selftests: cgroup: Simplify task self migration selftests: cgroup: Add task migration tests selftests: cgroup: Run test_core under interfering stress kernel/cgroup/cgroup-internal.h | 5 +- kernel/cgroup/cgroup-v1.c | 5 +- kernel/cgroup/cgroup.c | 68 ++++---- tools/testing/selftests/cgroup/Makefile | 4 +- tools/testing/selftests/cgroup/cgroup_util.c | 42 ++++- tools/testing/selftests/cgroup/cgroup_util.h | 6 +- tools/testing/selftests/cgroup/test_core.c | 146 ++++++++++++++++++ tools/testing/selftests/cgroup/test_freezer.c | 2 +- tools/testing/selftests/cgroup/test_stress.sh | 4 + tools/testing/selftests/cgroup/with_stress.sh | 101 ++++++++++++ 10 files changed, 342 insertions(+), 41 deletions(-) create mode 100755 tools/testing/selftests/cgroup/test_stress.sh create mode 100755 tools/testing/selftests/cgroup/with_stress.sh -- 2.21.0