Skip to contentSkip to conversation

docs: cgroup-v1: wrap charge moving deprecation in warning block

PATCH In review Bagas Sanjaya 1 participant 2 messages Jan 6, 2023 – Jan 20, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: cgroup-v1: wrap charge moving deprecation in warning block

Commit 4ddb1a2aa1a3c4 ("docs: cgroup-v1: wrap remaining admonitions in admonition blocks") in cgroups tree states that it also wraps charge moving deprecation notice in admonition block (specifically warning). However, the notice isn't in cgroups tree when the v2 of formatting improv series [1] is submitted (and then applied), but rather in mm tree instead.

Wrap the notice to fulfill the intention of referred commit.

---
 Documentation/admin-guide/cgroup-v1/memory.rst | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
Documentation/admin-guide/cgroup-v1/memory.rst +7 -5
index 258e45cc3b2db1..b73eb174735556 100644
@@ -722,12 +722,14 @@ NOTE2:
 8. Move charges at task migration (DEPRECATED!)
 ===============================================
 
-THIS IS DEPRECATED!
+.. warning::
 
-It's expensive and unreliable! It's better practice to launch workload
-tasks directly from inside their target cgroup. Use dedicated workload
-cgroups to allow fine-grained policy adjustments without having to
-move physical pages between control domains.
+   THIS IS DEPRECATED!
+
+   It's expensive and unreliable! It's better practice to launch workload
+   tasks directly from inside their target cgroup. Use dedicated workload
+   cgroups to allow fine-grained policy adjustments without having to
+   move physical pages between control domains.
 
 Users can move charges associated with a task along with task migration, that
 is, uncharge task's pages from the old cgroup and charge them to the new cgroup.

base-commit: dd5c3ba990ae67409bc058051efcd40c3689d01d

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#1 lore raw
Quoted 9 lines · Bagas Sanjaya

Commit 4ddb1a2aa1a3c4 ("docs: cgroup-v1: wrap remaining admonitions in admonition blocks") in cgroups tree states that it also wraps charge moving deprecation notice in admonition block (specifically warning). However, the notice isn't in cgroups tree when the v2 of formatting improv series [1] is submitted (and then applied), but rather in mm tree instead.

Wrap the notice to fulfill the intention of referred commit.

Ping?

Signature · 1 line
An old man doll... just what I always wanted! - Clara