Skip to content

Commit 8913632

Browse files
Nau4manJonathan Corbet
authored andcommitted
Documentation: Fix typos and grammatical errors
Fix various typos and grammatical errors across documentation files: - Fix missing preposition 'in' in process/changes.rst - Correct 'result by' to 'result from' in admin-guide/README.rst - Fix 'before hand' to 'beforehand' in cgroup-v1/hugetlb.rst - Correct 'allows to limit' to 'allows limiting' in hugetlb.rst, cgroup-v2.rst, and kconfig-language.rst - Fix 'needs precisely know' to 'needs to precisely know' - Correct 'overcommited' to 'overcommitted' in hugetlb.rst - Fix subject-verb agreement: 'never causes' to 'never cause' - Fix 'there is enough' to 'there are enough' in hugetlb.rst - Fix 'metadatas' to 'metadata' in filesystems/erofs.rst - Fix 'hardwares' to 'hardware' in scsi/ChangeLog.sym53c8xx Signed-off-by: Nauman Sabir <officialnaumansabir@gmail.com> Acked-by: Tejun Heo <tj@kernel.org> Message-ID: <20260115230110.7734-1-officialnaumansabir@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent a02857e commit 8913632

7 files changed

Lines changed: 17 additions & 17 deletions

File tree

Documentation/admin-guide/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Documentation
5353
these typically contain kernel-specific installation notes for some
5454
drivers for example. Please read the
5555
:ref:`Documentation/process/changes.rst <changes>` file, as it
56-
contains information about the problems, which may result by upgrading
56+
contains information about the problems which may result from upgrading
5757
your kernel.
5858

5959
Installing the kernel source

Documentation/admin-guide/cgroup-v1/hugetlb.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ control group and enforces the limit during page fault. Since HugeTLB
7777
doesn't support page reclaim, enforcing the limit at page fault time implies
7878
that, the application will get SIGBUS signal if it tries to fault in HugeTLB
7979
pages beyond its limit. Therefore the application needs to know exactly how many
80-
HugeTLB pages it uses before hand, and the sysadmin needs to make sure that
80+
HugeTLB pages it uses beforehand, and the sysadmin needs to make sure that
8181
there are enough available on the machine for all the users to avoid processes
8282
getting SIGBUS.
8383

@@ -91,23 +91,23 @@ getting SIGBUS.
9191
hugetlb.<hugepagesize>.rsvd.usage_in_bytes
9292
hugetlb.<hugepagesize>.rsvd.failcnt
9393

94-
The HugeTLB controller allows to limit the HugeTLB reservations per control
94+
The HugeTLB controller allows limiting the HugeTLB reservations per control
9595
group and enforces the controller limit at reservation time and at the fault of
9696
HugeTLB memory for which no reservation exists. Since reservation limits are
97-
enforced at reservation time (on mmap or shget), reservation limits never causes
98-
the application to get SIGBUS signal if the memory was reserved before hand. For
97+
enforced at reservation time (on mmap or shget), reservation limits never cause
98+
the application to get SIGBUS signal if the memory was reserved beforehand. For
9999
MAP_NORESERVE allocations, the reservation limit behaves the same as the fault
100100
limit, enforcing memory usage at fault time and causing the application to
101101
receive a SIGBUS if it's crossing its limit.
102102

103103
Reservation limits are superior to page fault limits described above, since
104104
reservation limits are enforced at reservation time (on mmap or shget), and
105-
never causes the application to get SIGBUS signal if the memory was reserved
106-
before hand. This allows for easier fallback to alternatives such as
105+
never cause the application to get SIGBUS signal if the memory was reserved
106+
beforehand. This allows for easier fallback to alternatives such as
107107
non-HugeTLB memory for example. In the case of page fault accounting, it's very
108-
hard to avoid processes getting SIGBUS since the sysadmin needs precisely know
109-
the HugeTLB usage of all the tasks in the system and make sure there is enough
110-
pages to satisfy all requests. Avoiding tasks getting SIGBUS on overcommited
108+
hard to avoid processes getting SIGBUS since the sysadmin needs to precisely know
109+
the HugeTLB usage of all the tasks in the system and make sure there are enough
110+
pages to satisfy all requests. Avoiding tasks getting SIGBUS on overcommitted
111111
systems is practically impossible with page fault accounting.
112112

113113

Documentation/admin-guide/cgroup-v2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2816,7 +2816,7 @@ DMEM Interface Files
28162816
HugeTLB
28172817
-------
28182818

2819-
The HugeTLB controller allows to limit the HugeTLB usage per control group and
2819+
The HugeTLB controller allows limiting the HugeTLB usage per control group and
28202820
enforces the controller limit during page fault.
28212821

28222822
HugeTLB Interface Files

Documentation/filesystems/erofs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ to be as simple as possible::
154154
0 +1K
155155

156156
All data areas should be aligned with the block size, but metadata areas
157-
may not. All metadatas can be now observed in two different spaces (views):
157+
may not. All metadata can be now observed in two different spaces (views):
158158

159159
1. Inode metadata space
160160

Documentation/kbuild/kconfig-language.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ applicable everywhere (see syntax).
216216

217217
- numerical ranges: "range" <symbol> <symbol> ["if" <expr>]
218218

219-
This allows to limit the range of possible input values for int
219+
This allows limiting the range of possible input values for int
220220
and hex symbols. The user can only input a value which is larger than
221221
or equal to the first symbol and smaller than or equal to the second
222222
symbol.

Documentation/process/changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ DevFS has been obsoleted in favour of udev
218218
Linux documentation for functions is transitioning to inline
219219
documentation via specially-formatted comments near their
220220
definitions in the source. These comments can be combined with ReST
221-
files the Documentation/ directory to make enriched documentation, which can
221+
files in the Documentation/ directory to make enriched documentation, which can
222222
then be converted to PostScript, HTML, LaTex, ePUB and PDF files.
223223
In order to convert from ReST format to a format of your choice, you'll need
224224
Sphinx.

Documentation/scsi/ChangeLog.sym53c8xx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ Sat May 12 12:00 2001 Gerard Roudier (groudier@club-internet.fr)
22
* version sym53c8xx-1.7.3c
33
- Ensure LEDC bit in GPCNTL is cleared when reading the NVRAM.
44
Fix sent by Stig Telfer <stig@api-networks.com>.
5-
- Backport from SYM-2 the work-around that allows to support
6-
hardwares that fail PCI parity checking.
7-
- Check that we received at least 8 bytes of INQUIRY response
5+
- Backport from SYM-2 the work-around that allows to support
6+
hardware that fails PCI parity checking.
7+
- Check that we received at least 8 bytes of INQUIRY response
88
for byte 7, that contains device capabilities, to be valid.
99
- Define scsi_set_pci_device() as nil for kernel < 2.4.4.
1010
- + A couple of minor changes.

0 commit comments

Comments
 (0)