From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 94A1A15FA93 for ; Tue, 20 Aug 2024 19:56:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724183776; cv=none; b=DpUMeq6dMfpu6TYI3/JATLkmtuxKROiGWDmnVUguvmTmqxp+GK3SAHjYTU57Il/lFvxVyM1BvjhQTV8LOn/XgSh7Lg3JThomrzMUajKq6adS1rMU4Q1QWWatSWrVcjK2on+p0sg6y8QtAdUMZ5nBxrXmiDHmPF1F/rFQMQO0D5Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724183776; c=relaxed/simple; bh=csrxiVvLG9IgDFpaXoNeGXm5JX+nOI0jfkSkiKKTqgs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=R1XojsP/gKuZwlBJp6q4S1d4PKz2lvWeOZmj+rfW6alprmMhJYpjm12gp/71l1XP7+1ZB+bP2DepUmeTBM7zAg0Dwer7kYiP+6iAS3rA/DY4w41NqE4JPO+I689tIn8ORSThtabqIUKi86JnDTn1nU6LNYkgvymiSH1pFESbwHo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=GitPVWbN; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="GitPVWbN" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1724183773; 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=mRWet40YKp36IkKgF8VcXdQuutTUysbDPs0ilrpzxqI=; b=GitPVWbNvk2QQ1ip1524zgJ5sUqy5UsP+nYHxXHjk2N0YytekV+ya83LsXZP6G6vf9Glge MooR5bNXbi7Dj2e6gJhdwMpMXNrpOdKm70YHveSBE0vC92QbGyMKYHL5kj7g6QtAIwKR8t lHlhriOggwxz32Hm2F8GsRFhQ2jkvRQ= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-21-73GB9XyDMdChp5zKiQlbGg-1; Tue, 20 Aug 2024 15:56:07 -0400 X-MC-Unique: 73GB9XyDMdChp5zKiQlbGg-1 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D24551955D44; Tue, 20 Aug 2024 19:56:04 +0000 (UTC) Received: from llong.com (unknown [10.2.17.12]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 22B8E3001FF1; Tue, 20 Aug 2024 19:56:01 +0000 (UTC) From: Waiman Long To: Tejun Heo , Zefan Li , Johannes Weiner , =?UTF-8?q?Michal=20Koutn=C3=BD?= , Shuah Khan Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Waiman Long Subject: [PATCH-cgroup 0/2] cgroup/cpuset: Account for boot time isolated CPUs Date: Tue, 20 Aug 2024 15:55:34 -0400 Message-ID: <20240820195536.202066-1-longman@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 The current cpuset code and test_cpuset_prs.sh test have not fully account for the possibility of pre-isolated CPUs added by the "isolcpus" boot command line parameter. This patch series modifies them to do the right thing whether or not "isolcpus" is present or not. The updated test_cpuset_prs.sh was run successfully with or without the "isolcpus" option. Waiman Long (2): cgroup/cpuset: Account for boot time isolated CPUs selftest/cgroup: Make test_cpuset_prs.sh deal with pre-isolated CPUs kernel/cgroup/cpuset.c | 23 +++++++--- .../selftests/cgroup/test_cpuset_prs.sh | 44 ++++++++++++++----- 2 files changed, 51 insertions(+), 16 deletions(-) -- 2.43.5