docs/zh_CN: add scheduler arch and bwc translation
Subsystems (2)
v2 cover docs/zh_CN: add scheduler arch and bwc translation
v2:
* Pick Reviewed-by tag. (Patch 2/3 and 3/3)
* Modified some words under Alex's advices.
v1:
* Translate .../scheduler/sched-arch.rst and sched-bwc.rst into Chinese.
* When I translated sched-bwc, I fixed some errata along the way.
* fix a build warning in sched-bwc,I put them inside a patch or even in a series, so if I should split them, please let me know.
Yanteng Si (3):
docs/zh_CN: add scheduler sched-arch translation docs/zh_CN: add scheduler sched-bwc translation docs/scheduler: fix typo and warning in sched-bwc
Documentation/scheduler/sched-bwc.rst | 5 +- .../translations/zh_CN/scheduler/index.rst | 3 +- .../zh_CN/scheduler/sched-arch.rst | 78 +++++++ .../zh_CN/scheduler/sched-bwc.rst | 206 ++++++++++++++++++ 4 files changed, 288 insertions(+), 4 deletions(-) create mode 100644 Documentation/translations/zh_CN/scheduler/sched-arch.rst create mode 100644 Documentation/translations/zh_CN/scheduler/sched-bwc.rst
Signature · 1 line
2.27.0
PATCH v2 1/3 docs/zh_CN: add scheduler sched-arch translation
From: Yanteng Si <[email protected]>
Translate .../scheduler/sched-arch.rst into Chinese.
--- .../translations/zh_CN/scheduler/index.rst | 2 +- .../zh_CN/scheduler/sched-arch.rst | 78 +++++++++++++++++++ 2 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 Documentation/translations/zh_CN/scheduler/sched-arch.rst
Documentation/translations/zh_CN/scheduler/index.rst +1 -1
@@ -20,11 +20,11 @@ Linux调度器 :maxdepth: 1 completion + sched-arch TODOList: - sched-arch sched-bwc sched-deadline sched-design-CFS
Documentation/translations/zh_CN/scheduler/sched-arch.rst new file +78 -0
78 lines not on this page · raw message
Signature · 1 line
2.27.0
PATCH v2 2/3 docs/zh_CN: add scheduler sched-bwc translation
In reply to Yanteng SiFrom: Yanteng Si <[email protected]>
Translate .../scheduler/sched-bwc.rst into Chinese.
--- .../translations/zh_CN/scheduler/index.rst | 1 + .../zh_CN/scheduler/sched-bwc.rst | 206 ++++++++++++++++++ 2 files changed, 207 insertions(+) create mode 100644 Documentation/translations/zh_CN/scheduler/sched-bwc.rst
Documentation/translations/zh_CN/scheduler/index.rst +1 -0
@@ -21,6 +21,7 @@ Linux调度器 completion sched-arch + sched-bwc TODOList:
Documentation/translations/zh_CN/scheduler/sched-bwc.rst new file +206 -0
206 lines not on this page · raw message
Signature · 1 line
2.27.0
Jonathan Corbet
maintainerRe: [PATCH v2 2/3] docs/zh_CN: add scheduler sched-bwc translation
Quoted 11 lines · Yanteng Si
From: Yanteng Si <[email protected]>
Translate
.../scheduler/sched-bwc.rstinto Chinese.Signed-off-by Yanteng Si <[email protected]>Reviewed-by Alex Shi <[email protected]>--- .../translations/zh_CN/scheduler/index.rst | 1 + .../zh_CN/scheduler/sched-bwc.rst | 206 ++++++++++++++++++ 2 files changed, 207 insertions(+) create mode 100644 Documentation/translations/zh_CN/scheduler/sched-bwc.rst
One quick question:
Quoted 21 lines
Documentation/translations/zh_CN/scheduler/index.rst +1
-0@@ -21,6 +21,7 @@ Linux调度器 completion sched-arch + sched-bwc TODOList:Documentation/translations/zh_CN/scheduler/sched-bwc.rst new file +3
-0@@ -0,0 +1,206 @@ +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/scheduler/sched-bwc.rst
Documentation/translations/zh_CN/scheduler/sched-bwc.rst line 13
Quoted 10 lines
Documentation/translations/zh_CN/scheduler/sched-bwc.rst new file +10
-0+ +:翻译: + + 司延腾 Yanteng Si <[email protected]> + +:校译: + + + +.. _cn_scheduler_sched-bwc.rst:
Is there a reason for adding all of these labels? They are generally not used and just clutter up the documents. I think I would prefer to not see them unless they are needed, but if there's a reason to have them that I'm not seeing ... ?
Otherwise this set seems about ready to go.
Thanks,
jon
Re: [PATCH v2 2/3] docs/zh_CN: add scheduler sched-bwc translation
Quoted 45 lines · Jonathan Corbet <[email protected]> 于2021年11月30日周二 上午5:17写道:
Quoted 11 lines · Yanteng Si
From: Yanteng Si <[email protected]>
Translate
.../scheduler/sched-bwc.rstinto Chinese.Signed-off-by Yanteng Si <[email protected]>Reviewed-by Alex Shi <[email protected]>--- .../translations/zh_CN/scheduler/index.rst | 1 + .../zh_CN/scheduler/sched-bwc.rst | 206 ++++++++++++++++++ 2 files changed, 207 insertions(+) create mode 100644 Documentation/translations/zh_CN/scheduler/sched-bwc.rstOne quick question:
Quoted 28 lines
Documentation/translations/zh_CN/scheduler/index.rst +1
-0@@ -21,6 +21,7 @@ Linux调度器 completion sched-arch + sched-bwc TODOList:Documentation/translations/zh_CN/scheduler/sched-bwc.rst new file +10
-0@@ -0,0 +1,206 @@ +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/scheduler/sched-bwc.rst + +:翻译: + + 司延腾 Yanteng Si <[email protected]> + +:校译: +
Quoted 8 lines
Documentation/translations/zh_CN/scheduler/sched-bwc.rst line 13
Quoted 3 lines
Documentation/translations/zh_CN/scheduler/sched-bwc.rst new file +3
-0+ + +.. _cn_scheduler_sched-bwc.rst:Is there a reason for adding all of these labels? They are generally not used and just clutter up the documents. I think I would prefer to not see them unless they are needed, but if there's a reason to have them that I'm not seeing ... ?
OK!let's remove it.
Thanks,
Yanteng
Quoted 6 lines
Otherwise this set seems about ready to go.
Thanks,
jon
Quoted 59 lines · Jonathan Corbet <[email protected]> 于2021年11月30日周二 上午5:17写道:
Quoted 11 lines · Yanteng Si
From: Yanteng Si <[email protected]>
Translate
.../scheduler/sched-bwc.rstinto Chinese.Signed-off-by Yanteng Si <[email protected]>Reviewed-by Alex Shi <[email protected]>--- .../translations/zh_CN/scheduler/index.rst | 1 + .../zh_CN/scheduler/sched-bwc.rst | 206 ++++++++++++++++++ 2 files changed, 207 insertions(+) create mode 100644 Documentation/translations/zh_CN/scheduler/sched-bwc.rstOne quick question:
Quoted 21 lines
Documentation/translations/zh_CN/scheduler/index.rst +1
-0@@ -21,6 +21,7 @@ Linux调度器 completion sched-arch + sched-bwc TODOList:Documentation/translations/zh_CN/scheduler/sched-bwc.rst new file +3
-0@@ -0,0 +1,206 @@ +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/scheduler/sched-bwc.rstDocumentation/translations/zh_CN/scheduler/sched-bwc.rst line 13
Quoted 10 lines
Documentation/translations/zh_CN/scheduler/sched-bwc.rst new file +10
-0+ +:翻译: + + 司延腾 Yanteng Si <[email protected]> + +:校译: + + + +.. _cn_scheduler_sched-bwc.rst:Is there a reason for adding all of these labels? They are generally not used and just clutter up the documents. I think I would prefer to not see them unless they are needed, but if there's a reason to have them that I'm not seeing ... ?
Otherwise this set seems about ready to go.
Thanks,
jon
PATCH v2 3/3 docs/scheduler: fix typo and warning in sched-bwc
In reply to Yanteng SiFrom: Yanteng Si <[email protected]>
a) since d73df887b6b8 ("sched/fair: Add document for burstable CFS bandwidth") [cpu.cfs_quota_us: the total available run-time within a period (in] shoud be removed, let's delete it.
b) Add a period.
c) fix a build warning:
linux-next/Documentation/scheduler/sched-bwc.rst:243: WARNING: Inline emphasis start-string without end-string.
--- Documentation/scheduler/sched-bwc.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/scheduler/sched-bwc.rst +2 -3
@@ -74,7 +74,6 @@ Quota, period and burst are managed within the cpu subsystem via cgroupfs. to cgroup v1. For cgroup v2, see :ref:`Documentation/admin-guide/cgroup-v2.rst <cgroup-v2-cpu>`. -- cpu.cfs_quota_us: the total available run-time within a period (in - cpu.cfs_quota_us: run-time replenished within a period (in microseconds) - cpu.cfs_period_us: the length of a period (in microseconds) - cpu.stat: exports throttling statistics [explained further below]
@@ -135,7 +134,7 @@ cpu.stat: of the group have been throttled. - nr_bursts: Number of periods burst occurs. - burst_time: Cumulative wall-time (in nanoseconds) that any CPUs has used - above quota in respective periods + above quota in respective periods. This interface is read-only.
@@ -238,7 +237,7 @@ Examples additionally, in case accumulation has been done. With 50ms period, 20ms quota will be equivalent to 40% of 1 CPU. - And 10ms burst will be equivalent to 20% of 1 CPU. + And 10ms burst will be equivalent to 20% of 1 CPU:: # echo 20000 > cpu.cfs_quota_us /* quota = 20ms */ # echo 50000 > cpu.cfs_period_us /* period = 50ms */
Signature · 1 line
2.27.0
Jonathan Corbet
maintainerQuoted 17 lines · Yanteng Si
v2:
* Pick Reviewed-by tag. (Patch 2/3 and 3/3)
* Modified some words under Alex's advices.v1:
* Translate
.../scheduler/sched-arch.rstandsched-bwc.rstinto Chinese.
* When I translated sched-bwc, I fixed some errata along the way.
* fix a build warning in sched-bwc,I put them inside a patch or even in a series, so if I should split them, please let me know.Yanteng Si (3):
docs/zh_CN: add scheduler sched-arch translation docs/zh_CN: add scheduler sched-bwc translation docs/scheduler: fix typo and warning in sched-bwc
Quoted 7 lines
Documentation/scheduler/sched-bwc.rst | 5 +- .../translations/zh_CN/scheduler/index.rst | 3 +- .../zh_CN/scheduler/sched-arch.rst | 78 +++++++ .../zh_CN/scheduler/sched-bwc.rst | 206 ++++++++++++++++++ 4 files changed, 288 insertions(+), 4 deletions(-) create mode 100644 Documentation/translations/zh_CN/scheduler/sched-arch.rst create mode 100644 Documentation/translations/zh_CN/scheduler/sched-bwc.rst
Set applied, thanks.
jon