Skip to content

Commit 4979bf8

Browse files
committed
Merge tag 'docs-6.3-fixes' of git://git.lwn.net/linux
Pull documentation fixes from Jonathan Corbet: "A handful of fixes and minor documentation updates" * tag 'docs-6.3-fixes' of git://git.lwn.net/linux: docs: vfio: fix header path docs: process: typo fix docs/mm: hugetlbfs_reserv: fix a reference to a file that doesn't exist docs/mm: Physical Memory: fix a reference to a file that doesn't exist docs: rebasing-and-merging: Drop wrong statement about git docs: programming-language: add Rust programming language section docs: programming-language: remove mention of the Intel compiler docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate sched/doc: supplement CPU capacity with RISC-V
2 parents fc89d7f + d7ba365 commit 4979bf8

10 files changed

Lines changed: 31 additions & 22 deletions

File tree

Documentation/driver-api/vfio.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ group and can access them as follows::
242242
VFIO User API
243243
-------------------------------------------------------------------------------
244244

245-
Please see include/linux/vfio.h for complete API documentation.
245+
Please see include/uapi/linux/vfio.h for complete API documentation.
246246

247247
VFIO bus driver API
248248
-------------------------------------------------------------------------------

Documentation/filesystems/vfs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ defined:
12221222
return
12231223
-ECHILD and it will be called again in ref-walk mode.
12241224

1225-
``_weak_revalidate``
1225+
``d_weak_revalidate``
12261226
called when the VFS needs to revalidate a "jumped" dentry. This
12271227
is called when a path-walk ends at dentry that was not acquired
12281228
by doing a lookup in the parent directory. This includes "/",

Documentation/maintainer/rebasing-and-merging.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,7 @@ point rather than some random spot. If your upstream-bound branch has
213213
emptied entirely into the mainline during the merge window, you can pull it
214214
forward with a command like::
215215

216-
git merge v5.2-rc1^0
217-
218-
The "^0" will cause Git to do a fast-forward merge (which should be
219-
possible in this situation), thus avoiding the addition of a spurious merge
220-
commit.
216+
git merge --ff-only v5.2-rc1
221217

222218
The guidelines laid out above are just that: guidelines. There will always
223219
be situations that call out for a different solution, and these guidelines

Documentation/mm/hugetlbfs_reserv.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Hugetlbfs Reservation
55
Overview
66
========
77

8-
Huge pages as described at Documentation/mm/hugetlbpage.rst are typically
9-
preallocated for application use. These huge pages are instantiated in a
10-
task's address space at page fault time if the VMA indicates huge pages are
11-
to be used. If no huge page exists at page fault time, the task is sent
8+
Huge pages as described at Documentation/admin-guide/mm/hugetlbpage.rst are
9+
typically preallocated for application use. These huge pages are instantiated
10+
in a task's address space at page fault time if the VMA indicates huge pages
11+
are to be used. If no huge page exists at page fault time, the task is sent
1212
a SIGBUS and often dies an unhappy death. Shortly after huge page support
1313
was added, it was determined that it would be better to detect a shortage
1414
of huge pages at mmap() time. The idea is that if there were not enough

Documentation/mm/physical_memory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ one of the types described below.
6666
also populated on boot using one of ``kernelcore``, ``movablecore`` and
6767
``movable_node`` kernel command line parameters. See
6868
Documentation/mm/page_migration.rst and
69-
Documentation/admin-guide/mm/memory_hotplug.rst for additional details.
69+
Documentation/admin-guide/mm/memory-hotplug.rst for additional details.
7070

7171
* ``ZONE_DEVICE`` represents memory residing on devices such as PMEM and GPU.
7272
It has different characteristics than RAM zone types and it exists to provide

Documentation/process/programming-language.rst

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ under ``-std=gnu11`` [gcc-c-dialect-options]_: the GNU dialect of ISO C11.
1212
This dialect contains many extensions to the language [gnu-extensions]_,
1313
and many of them are used within the kernel as a matter of course.
1414

15-
There is some support for compiling the kernel with ``icc`` [icc]_ for several
16-
of the architectures, although at the time of writing it is not completed,
17-
requiring third-party patches.
18-
1915
Attributes
2016
----------
2117

@@ -35,12 +31,28 @@ in order to feature detect which ones can be used and/or to shorten the code.
3531

3632
Please refer to ``include/linux/compiler_attributes.h`` for more information.
3733

34+
Rust
35+
----
36+
37+
The kernel has experimental support for the Rust programming language
38+
[rust-language]_ under ``CONFIG_RUST``. It is compiled with ``rustc`` [rustc]_
39+
under ``--edition=2021`` [rust-editions]_. Editions are a way to introduce
40+
small changes to the language that are not backwards compatible.
41+
42+
On top of that, some unstable features [rust-unstable-features]_ are used in
43+
the kernel. Unstable features may change in the future, thus it is an important
44+
goal to reach a point where only stable features are used.
45+
46+
Please refer to Documentation/rust/index.rst for more information.
47+
3848
.. [c-language] http://www.open-std.org/jtc1/sc22/wg14/www/standards
3949
.. [gcc] https://gcc.gnu.org
4050
.. [clang] https://clang.llvm.org
41-
.. [icc] https://software.intel.com/en-us/c-compilers
4251
.. [gcc-c-dialect-options] https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html
4352
.. [gnu-extensions] https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html
4453
.. [gcc-attribute-syntax] https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html
4554
.. [n2049] http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2049.pdf
46-
55+
.. [rust-language] https://www.rust-lang.org
56+
.. [rustc] https://doc.rust-lang.org/rustc/
57+
.. [rust-editions] https://doc.rust-lang.org/edition-guide/editions/
58+
.. [rust-unstable-features] https://github.com/Rust-for-Linux/linux/issues/2

Documentation/process/submitting-patches.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ for their time. Code review is a tiring and time-consuming process, and
320320
reviewers sometimes get grumpy. Even in that case, though, respond
321321
politely and address the problems they have pointed out. When sending a next
322322
version, add a ``patch changelog`` to the cover letter or to individual patches
323-
explaining difference aganst previous submission (see
323+
explaining difference against previous submission (see
324324
:ref:`the_canonical_patch_format`).
325325

326326
See Documentation/process/email-clients.rst for recommendations on email

Documentation/scheduler/sched-capacity.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ Linux cannot currently figure out CPU capacity on its own, this information thus
258258
needs to be handed to it. Architectures must define arch_scale_cpu_capacity()
259259
for that purpose.
260260

261-
The arm and arm64 architectures directly map this to the arch_topology driver
261+
The arm, arm64, and RISC-V architectures directly map this to the arch_topology driver
262262
CPU scaling data, which is derived from the capacity-dmips-mhz CPU binding; see
263263
Documentation/devicetree/bindings/cpu/cpu-capacity.txt.
264264

Documentation/translations/zh_CN/mm/hugetlbfs_reserv.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Hugetlbfs 预留
1515
概述
1616
====
1717

18-
Documentation/mm/hugetlbpage.rst 中描述的巨页通常是预先分配给应用程序使用的。如果VMA指
18+
Documentation/admin-guide/mm/hugetlbpage.rst
19+
中描述的巨页通常是预先分配给应用程序使用的 。如果VMA指
1920
示要使用巨页,这些巨页会在缺页异常时被实例化到任务的地址空间。如果在缺页异常
2021
时没有巨页存在,任务就会被发送一个SIGBUS,并经常不高兴地死去。在加入巨页支
2122
持后不久,人们决定,在mmap()时检测巨页的短缺情况会更好。这个想法是,如果

Documentation/translations/zh_CN/scheduler/sched-capacity.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ CFS调度类基于实体负载跟踪机制(Per-Entity Load Tracking, PELT)
231231
当前,Linux无法凭自身算出CPU算力,因此必须要有把这个信息传递给Linux的方式。每个架构必须为此
232232
定义arch_scale_cpu_capacity()函数。
233233

234-
arm和arm64架构直接把这个信息映射到arch_topology驱动的CPU scaling数据中(译注:参考
234+
arm、arm64和RISC-V架构直接把这个信息映射到arch_topology驱动的CPU scaling数据中(译注:参考
235235
arch_topology.h的percpu变量cpu_scale),它是从capacity-dmips-mhz CPU binding中衍生计算
236236
出来的。参见Documentation/devicetree/bindings/cpu/cpu-capacity.txt。
237237

0 commit comments

Comments
 (0)