From owner-dev-commits-doc-all@freebsd.org Sat Mar 13 07:20:32 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EAE1456BFD9 for ; Sat, 13 Mar 2021 07:20:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DyDc06Nvqz4VXj; Sat, 13 Mar 2021 07:20:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CE36725E7C; Sat, 13 Mar 2021 07:20:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 12D7KWfB044065; Sat, 13 Mar 2021 07:20:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 12D7KWrZ044064; Sat, 13 Mar 2021 07:20:32 GMT (envelope-from git) Date: Sat, 13 Mar 2021 07:20:32 GMT Message-Id: <202103130720.12D7KWrZ044064@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Kyle Evans Subject: git: fdef22474f - main - relnotes/13.0: add note about jail(8) cpuset behavior MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fdef22474f7a79bb6cb918fc391fab4384ec5ac1 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2021 07:20:33 -0000 The branch main has been updated by kevans (ports, src committer): URL: https://cgit.FreeBSD.org/doc/commit/?id=fdef22474f7a79bb6cb918fc391fab4384ec5ac1 commit fdef22474f7a79bb6cb918fc391fab4384ec5ac1 Author: Kyle Evans AuthorDate: 2021-03-05 14:01:30 +0000 Commit: Kyle Evans CommitDate: 2021-03-13 07:19:43 +0000 relnotes/13.0: add note about jail(8) cpuset behavior Attaching processes will now largely retain their cpu masks, which is a fairly large and notable change from previous releases. Reviewed by: me_igalic.co Approved by: gjb (implicit) Differential Revision: https://reviews.freebsd.org/D29081 --- website/content/en/releases/13.0R/relnotes.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/content/en/releases/13.0R/relnotes.adoc b/website/content/en/releases/13.0R/relnotes.adoc index 4fcd232378..ee893c643c 100644 --- a/website/content/en/releases/13.0R/relnotes.adoc +++ b/website/content/en/releases/13.0R/relnotes.adoc @@ -157,6 +157,10 @@ This section covers changes to kernel configurations, system tuning, and system [[kernel-general]] === General Kernel Changes +Processes that attach to a {{< manpage "jail" "8" >}} will now completely rebase their {{< manpage "cpuset" "1" >}} onto the jail's cpuset. +Notably, if a process had been assigned a numbered cpuset then it will be assigned a new numbered set that is the combination of CPUs +allowed to the attaching process and the jail. +Processes belonging to the superuser will implicitly widen their CPU mask as needed if they share no CPUs in common with the jail. [[drivers]] == Devices and Drivers