/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | memory.rst | 8 here but make sure to check the current code if you need a deeper 18 we call it "memory cgroup". When you see git-log and source code, you'll 30 Memory-hungry applications can be isolated and limited to a smaller 42 Current Status: linux-2.6.34-mmotm(development version of 2010/April) 46 - accounting anonymous pages, file caches, swap caches usage and limiting them. 47 - pages are linked to per-memcg LRU exclusively, and there is no global LRU. 48 - optionally, memory+swap usage can be accounted and limited. 49 - hierarchical accounting 50 - soft limit 51 - moving (recharging) account at moving a task is selectable. [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | bq256xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 14 The bq256xx devices are a family of highly-integrated battery charge 15 management and system power management ICs for single cell Li-ion and Li- 19 - https://www.ti.com/lit/ds/symlink/bq25600.pdf 20 - https://www.ti.com/lit/ds/symlink/bq25601.pdf 21 - https://www.ti.com/lit/ds/symlink/bq25600d.pdf 22 - https://www.ti.com/lit/ds/symlink/bq25601d.pdf [all …]
|
H A D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 device-chemistry: [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | adi,ad4695.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <Michael.Hennerich@analog.com> 11 - Nuno Sá <nuno.sa@analog.com> 14 A family of similar multi-channel analog to digital converters with SPI bus. 21 $ref: /schemas/spi/spi-peripheral-props.yaml# 26 - adi,ad4695 27 - adi,ad4696 28 - adi,ad4697 [all …]
|
/linux/Documentation/process/ |
H A D | maintainer-kvm-x86.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 -------- 17 ----- 21 ----- 25 specific tree, ``github.com/kvm-x86/linux.git``. 27 Generally speaking, fixes for the current cycle are applied directly to the 29 KVM x86 tree. In the unlikely event that a fix for the current cycle is routed 39 using finer-grained topic branches is to make it easier to keep tabs on an area 40 of development, and to limit the collateral damage of human errors and/or buggy 41 commits, e.g. dropping the HEAD commit of a topic branch has no impact on other [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 14 LED and flash LED devices provide the same basic functionality as current 18 Many LED devices expose more than one current output that can be connected 25 led-sources: 27 List of device current outputs the LED is connected to. The outputs are 30 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
/linux/Documentation/filesystems/ |
H A D | path-lookup.rst | 5 This write-up is based on three articles published at lwn.net: 7 - <https://lwn.net/Articles/649115/> Pathname lookup in Linux 8 - <https://lwn.net/Articles/649729/> RCU-walk: faster pathname lookup in Linux 9 - <https://lwn.net/Articles/650786/> A walk among the symlinks 15 - per-directory parallel name lookup. 16 - ``openat2()`` resolution restriction flags. 27 the early parts of the analysis we will divide off symlinks - leaving 30 will allow us to review "REF-walk" and "RCU-walk" separately. But we 35 -------------------------- 37 .. _openat: http://man7.org/linux/man-pages/man2/openat.2.html [all …]
|
/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_tc.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2021 Gerhard Engleder <gerhard@engleder-embedded.com> */ 9 #define TSNEP_MAX_GCL_NUM (TSNEP_GCL_COUNT - 1) 16 if (!qopt->cycle_time) in tsnep_validate_gcl() 17 return -ERANGE; in tsnep_validate_gcl() 18 if (qopt->num_entries > TSNEP_MAX_GCL_NUM) in tsnep_validate_gcl() 19 return -EINVAL; in tsnep_validate_gcl() 21 for (i = 0; i < qopt->num_entries; i++) { in tsnep_validate_gcl() 22 if (qopt->entries[i].command != TC_TAPRIO_CMD_SET_GATES) in tsnep_validate_gcl() 23 return -EINVAL; in tsnep_validate_gcl() [all …]
|
/linux/include/soc/tegra/ |
H A D | bpmp-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved. 58 * message consists of a @ref mrq_request followed by a payload whose 63 * consists of a @ref mrq_response followed by a payload whose format 66 * A well-defined subset of the MRQ messages that the CPU sends to the 130 * -BPMP_EBADMSG and ignore the request. 144 …* | -------------------- | ------------------------------------ | --------------------------------… 223 * calculated by BPMP, -BPMP_EBADMSG will be returned and the request will 402 * @defgroup CC3 Auto-CC3 420 * * Request Payload: @ref mrq_ping_request [all …]
|
/linux/Documentation/scheduler/ |
H A D | sched-util-clamp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 44 performance point required by its display pipeline to ensure no frame is 57 foreground, top-app, etc. Util clamp can be used to constrain how much 60 the ones belonging to the currently active app (top-app group). Beside this 65 1. The big cores are free to run top-app tasks immediately. top-app 106 Note that by design RT tasks don't have per-task PELT signal and must always 114 See :ref:`section 3.4 <uclamp-default-values>` for default values and 115 :ref:`3.4.1 <sched-util-clamp-min-rt-default>` on how to change RT tasks 150 task on the rq to only a subset of tasks on the top-most bucket. 156 As tasks are enqueued and dequeued, we keep track of the current effective [all …]
|
/linux/drivers/infiniband/sw/siw/ |
H A D | siw_mem.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 4 /* Copyright (c) 2008-2019, IBM Corporation */ 9 #include <linux/dma-mapping.h> 26 struct xa_limit limit = XA_LIMIT(1, SIW_STAG_MAX_INDEX); in siw_mem_add() local 32 if (xa_alloc_cyclic(&sdev->mem_xa, &id, m, limit, &next, in siw_mem_add() 34 return -ENOMEM; in siw_mem_add() 37 m->stag = id << 8; in siw_mem_add() 56 mem = xa_load(&sdev->mem_xa, stag_index); in siw_mem_id2obj() 57 if (likely(mem && kref_get_unless_zero(&mem->ref))) { in siw_mem_id2obj() 68 int i, num_pages = umem->num_pages; in siw_umem_release() [all …]
|
/linux/Documentation/devicetree/bindings/connector/ |
H A D | usb-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 20 - enum: 21 - usb-a-connector 22 - usb-b-connector 23 - usb-c-connector 25 - items: [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | crop.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Image Cropping, Insertion and Scaling -- the CROP API 11 The CROP API is mostly superseded by the newer :ref:`SELECTION API 12 <selection-api>`. The new API should be preferred in most cases, 14 implemented by :ref:`VIDIOC_CROPCAP <VIDIOC_CROPCAP>` and has no 15 equivalent in the SELECTION API. See :ref:`selection-vs-crop` for a 29 Despite their name, the :ref:`VIDIOC_CROPCAP <VIDIOC_CROPCAP>`, 30 :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` and :ref:`VIDIOC_S_CROP 37 overlay) is negotiated with the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` 38 and :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctls. [all …]
|
H A D | func-open.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _func-open: 13 v4l2-open - Open a V4L2 device 18 .. code-block:: c 36 function and the :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will 37 return the ``EAGAIN`` error code when no data is available or no 42 Other flags have no effect. 48 desired device name. This function has no side effects; all data format 49 parameters, current input or output, control values or other properties 58 -1 is returned, and the ``errno`` variable is set appropriately. [all …]
|
H A D | mmap.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 :ref:`VIDIOC_QUERYCAP` ioctl is set. There are two 15 supported applications must call the :ref:`VIDIOC_REQBUFS` ioctl 22 memory on a graphics card with a video capture add-on. However, being 24 drivers support streaming as well, allocating buffers in DMA-able main 33 :ref:`VIDIOC_REQBUFS` ioctl with the desired number 41 :ref:`VIDIOC_QUERYBUF` ioctl. In the single-planar 45 multi-planar API, struct :c:type:`v4l2_buffer` contains an 48 multi-planar API, every plane of every buffer has to be mapped 56 Example: Mapping buffers in the single-planar API [all …]
|
/linux/tools/perf/Documentation/ |
H A D | perf-config.txt | 1 perf-config(1) 5 ---- 6 perf-config - Get and set variables in a configuration file. 9 -------- 11 'perf config' [<file-option>] [section.name[=value] ...] 13 'perf config' [<file-option>] -l | --list 16 ----------- 20 ------- 22 -l:: 23 --list:: [all …]
|
/linux/block/ |
H A D | bfq-iosched.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * BFQ is a proportional-share I/O scheduler, with some extra 17 * low-latency capabilities. BFQ also supports full hierarchical 20 * limitations can be found in Documentation/block/bfq-iosched.rst. 22 * BFQ is a proportional-share storage-I/O scheduling algorithm based 23 * on the slice-by-slice service scheme of CFQ. But BFQ assigns 25 * time slices. The device is not granted to the in-service process 31 * B-WF2Q+, to schedule processes according to their budgets. More 33 * process/queue is assigned a user-configurable weight, and B-WF2Q+ 36 * B-WF2Q+, BFQ can afford to assign high budgets to I/O-bound [all …]
|
/linux/Documentation/admin-guide/ |
H A D | cgroup-v2.rst | 1 .. _cgroup-v2: 11 conventions of cgroup v2. It describes all userland-visible aspects 14 v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`. 19 1-1. Terminology 20 1-2. What is cgroup? 22 2-1. Mounting 23 2-2. Organizing Processes and Threads 24 2-2-1. Processes 25 2-2-2. Threads 26 2-3. [Un]populated Notification [all …]
|
/linux/drivers/s390/scsi/ |
H A D | zfcp_ccw.c | 1 // SPDX-License-Identifier: GPL-2.0 27 adapter = dev_get_drvdata(&cdev->dev); in zfcp_ccw_adapter_by_cdev() 29 kref_get(&adapter->ref); in zfcp_ccw_adapter_by_cdev() 39 kref_put(&adapter->ref, zfcp_adapter_release); in zfcp_ccw_adapter_put() 44 * zfcp_ccw_activate - activate adapter and wait for it to finish 63 * rate limit. Recovery has already scheduled a port scan for us, in zfcp_ccw_activate() 64 * but with both random delay and rate limit. Nevertheless we get in zfcp_ccw_activate() 69 * and port scan. If not, i.e. recovery takes ages, there was no in zfcp_ccw_activate() 75 flush_delayed_work(&adapter->scan_work); in zfcp_ccw_activate() 90 * zfcp_ccw_probe - probe function of zfcp driver [all …]
|
/linux/Documentation/admin-guide/sysctl/ |
H A D | fs.rst | 11 ------------------------------------------------------------------------------ 31 aio-nr & aio-max-nr 32 ------------------- 34 ``aio-nr`` shows the current system-wide number of asynchronous io 35 requests. ``aio-max-nr`` allows you to change the maximum value 36 ``aio-nr`` can grow to. If ``aio-nr`` reaches ``aio-nr-max`` then 38 ``aio-max-nr`` does not result in the 39 pre-allocation or re-sizing of any kernel data structures. 42 dentry-state 43 ------------ [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | st,stmpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - st,stmpe601 24 - st,stmpe801 25 - st,stmpe811 26 - st,stmpe1600 27 - st,stmpe1601 [all …]
|
/linux/Documentation/core-api/ |
H A D | workqueue.rst | 24 there is no work item left on the workqueue the worker becomes idle. 33 thread system-wide. A single MT wq needed to keep around the same 50 limitation that no two polling PIOs can progress at the same time. As 60 * Use per-CPU unified worker pools shared by all wq to provide 83 the functions off of the queue, one after the other. If no work is queued, 85 worker-pools. 87 The cmwq design differentiates between the user-facing workqueues that 89 which manages worker-pools and processes the queued work items. 91 There are two worker-pools, one for normal work items and the other 93 worker-pools to serve work items queued on unbound workqueues - the [all …]
|
/linux/Documentation/admin-guide/mm/damon/ |
H A D | usage.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - *DAMON user space tool.* 11 system administrators who want a just-working human-friendly interface. 12 Using this, users can use the DAMON’s major features in a human-friendly way. 16 - *sysfs interface.* 17 :ref:`This <sysfs_interface>` is for privileged user space programmers who 23 - *Kernel Space Programming Interface.* 29 - *debugfs interface. (DEPRECATED!)* 30 :ref:`This <debugfs_interface>` is almost identical to :ref:`sysfs interface 32 :ref:`sysfs interface <sysfs_interface>`. If you depend on this and cannot [all …]
|
/linux/Documentation/bpf/ |
H A D | bpf_design_QA.rst | 19 ------------------------------------------------------------- 20 A: NO. 23 ------------------------------------- 24 A: NO. 27 ----------------------------------------------------------- 41 A: NO. BPF allows only register R0 to be used as return value. 45 A: NO. BPF calling convention only allows registers R1-R5 to be used 50 ----------------------------------------------------------------- 51 A: NO. 54 ------------------------------------------ [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | sleep-states.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Sleep states are global low-power states of the entire system in which user 28 Suspend-to-Idle 29 --------------- 31 This is a generic, pure software, light-weight variant of system suspend (also 34 I/O devices into low-power states (possibly lower-power than available in the 38 The system is woken up from this state by in-band interrupts, so theoretically 42 This state can be used on platforms without support for :ref:`standby <standby>` 43 or :ref:`suspend-to-RAM <s2ram>`, or it can be used in addition to any of the 50 ------- [all …]
|