mirror of
https://github.com/systemd/systemd.git
synced 2025-03-11 20:58:27 +03:00
tree-wide: link to docs.kernel.org for kernel documentation
https://www.kernel.org/ links to https://docs.kernel.org/ for the documentation. These URLs are shorter and nicer looking.
This commit is contained in:
parent
0c27049007
commit
934288757c
@ -162,7 +162,7 @@
|
||||
|
||||
<para>The allowed set of values is determined by the kernel and is shown in the file itself (use
|
||||
<command>cat /sys/power/disk</command> to display). See the kernel documentation page
|
||||
<ulink url="https://www.kernel.org/doc/html/latest/admin-guide/pm/sleep-states.html#basic-sysfs-interfaces-for-system-suspend-and-hibernation">
|
||||
<ulink url="https://docs.kernel.org/admin-guide/pm/sleep-states.html#basic-sysfs-interfaces-for-system-suspend-and-hibernation">
|
||||
Basic sysfs Interfaces for System Suspend and Hibernation</ulink> for more details.</para>
|
||||
|
||||
<para>
|
||||
@ -183,7 +183,7 @@
|
||||
|
||||
<para>The allowed set of values is determined by the kernel and is shown in the file itself (use
|
||||
<command>cat /sys/power/state</command> to display). See <ulink
|
||||
url="https://www.kernel.org/doc/html/latest/admin-guide/pm/sleep-states.html#basic-sysfs-interfaces-for-system-suspend-and-hibernation">
|
||||
url="https://docs.kernel.org/admin-guide/pm/sleep-states.html#basic-sysfs-interfaces-for-system-suspend-and-hibernation">
|
||||
Basic sysfs Interfaces for System Suspend and Hibernation</ulink> for more details.</para>
|
||||
|
||||
<para>
|
||||
|
@ -487,7 +487,7 @@ CPUWeight=20 DisableControllers=cpu / \
|
||||
cache for swap pages. It takes pages that are in the process of being swapped out and attempts to compress them into a
|
||||
dynamically allocated RAM-based memory pool. If the limit specified is hit, no entries from this unit will be
|
||||
stored in the pool until existing entries are faulted back or written out to disk. See the kernel's
|
||||
<ulink url="https://www.kernel.org/doc/html/latest/admin-guide/mm/zswap.html">Zswap</ulink> documentation for more details.</para>
|
||||
<ulink url="https://docs.kernel.org/admin-guide/mm/zswap.html">Zswap</ulink> documentation for more details.</para>
|
||||
|
||||
<para>Takes a size in bytes. If the value is suffixed with K, M, G or T, the specified size is
|
||||
parsed as Kilobytes, Megabytes, Gigabytes, or Terabytes (with the base 1024), respectively. If assigned the
|
||||
@ -566,7 +566,7 @@ CPUWeight=20 DisableControllers=cpu / \
|
||||
number of tasks on the system. If assigned the special value <literal>infinity</literal>, no tasks
|
||||
limit is applied. This controls the <literal>pids.max</literal> control group attribute. For
|
||||
details about this control group attribute, the
|
||||
<ulink url="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#pid">pids controller
|
||||
<ulink url="https://docs.kernel.org/admin-guide/cgroup-v2.html#pid">pids controller
|
||||
</ulink>.
|
||||
The effective configuration is reported as <varname>EffectiveTasksMax=</varname>.</para>
|
||||
|
||||
|
@ -321,7 +321,7 @@ int bpf_map_new(
|
||||
/* The map name is primarily informational for debugging purposes, and typically too short
|
||||
* to carry the full unit name, hence we employ a trivial lossy escaping to make it fit
|
||||
* (truncation + only alphanumerical, "." and "_" are allowed as per
|
||||
* https://www.kernel.org/doc/html/next/bpf/maps.html#usage-notes) */
|
||||
* https://docs.kernel.org/bpf/maps.html#usage-notes) */
|
||||
for (size_t i = 0; i < sizeof(attr.map_name) - 1 && *n; i++, n++)
|
||||
attr.map_name[i] = strchr(ALPHANUMERICAL ".", *n) ? *n : '_';
|
||||
|
||||
|
@ -190,7 +190,7 @@ class Uname:
|
||||
@classmethod
|
||||
def scrape_x86(cls, filename, opts=None):
|
||||
# Based on https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/blob/master/functions#L136
|
||||
# and https://www.kernel.org/doc/html/latest/x86/boot.html#the-real-mode-kernel-header
|
||||
# and https://docs.kernel.org/arch/x86/boot.html#the-real-mode-kernel-header
|
||||
with open(filename, 'rb') as f:
|
||||
f.seek(0x202)
|
||||
magic = f.read(4)
|
||||
|
Loading…
x
Reference in New Issue
Block a user