| /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>`. 22 1-1. Terminology 23 1-2. What is cgroup? 25 2-1. Mounting 26 2-2. Organizing Processes and Threads 27 2-2-1. Processes 28 2-2-2. Threads 29 2-3. [Un]populated Notification [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | davicom,dm9051.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Joseph CHANG <josright123@gmail.com> 13 The DM9051 is a fully integrated and cost-effective low pin count single 17 - $ref: ethernet-controller.yaml# 26 spi-max-frequency: 32 local-mac-address: true 34 mac-address: true 37 - compatible [all …]
|
| /linux/include/linux/ |
| H A D | energy_model.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * struct em_perf_state - Performance state of a performance domain 20 * @cost: The cost coefficient associated with this level, used during 28 unsigned long cost; member 37 * but a lower or equal power cost. Such inefficient states are ignored when 43 * struct em_perf_table - Performance states table 55 * struct em_perf_domain - Performance domain 68 * must have the same micro-architecture. Performance domains often have 69 * a 1-to-1 mapping with CPUFreq policies. In case of other devices the @cpus 84 * EM_PERF_DOMAIN_MICROWATTS: The power values are in micro-Watts or some [all …]
|
| H A D | gfp_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * typedef gfp_t - Memory allocation flags. 23 * include/trace/events/mmflags.h and tools/perf/builtin-kmem.c 108 * Physical address zone modifiers (see linux/mmzone.h - low four bits) 124 * --------------------------------- 159 * Watermark modifiers -- controls access to emergency reserves 160 * ------------------------------------------------------------ 162 * %__GFP_HIGH indicates that the caller is high-priority and that granting 170 * be the MM or co-ordinating closely with the VM (e.g. swap over NFS). 174 * Usage of a pre-allocated pool (e.g. mempool) should be always considered [all …]
|
| H A D | zstd_lib.h | 1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 40 * typically with -Wno-deprecated-declarations for gcc or _CRT_SECURE_NO_WARNINGS in Visual. 61 real-time compression scenarios at zlib-level and better compression ratios. 62 The zstd compression library provides in-memory compression and decompression 66 which is currently 22. Levels >= 20, labeled `--ultra`, should be used with 69 The lower the level, the faster the speed (at the cost of compression). 72 - a single step (described as Simple API) 73 - a single step, reusing a context (described as Explicit context) [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | page.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <asm/asm-const.h> 38 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) 39 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) 40 #define HUGE_MAX_HSTATE (MMU_PAGE_COUNT-1) 59 * KERNELBASE - PAGE_OFFSET = PHYSICAL_START - MEMORY_START 64 * va = pa + PAGE_OFFSET - MEMORY_START 65 * va = pa + KERNELBASE - PHYSICAL_START 75 #define LOAD_OFFSET ASM_CONST((CONFIG_KERNEL_START-CONFIG_PHYSICAL_START)) 99 #define VIRT_PHYS_OFFSET (KERNELBASE - PHYSICAL_START) [all …]
|
| /linux/Documentation/scheduler/ |
| H A D | sched-util-clamp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 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 110 when an RT task wakes up. This cost is unchanged by using uclamp. Uclamp only 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 132 frequency selection as well as task placement to be most effective. Both of 150 task on the rq to only a subset of tasks on the top-most bucket. [all …]
|
| /linux/drivers/iommu/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 # The IOVA library may also be used by non-IOMMU_API users 40 sizes at both stage-1 and stage-2, as well as address spaces 41 up to 48-bits in size. 47 Enable self-tests for LPAE page table allocator. This performs 48 a series of page-table consistency checks during boot. 57 Enable support for the ARM Short-descriptor pagetable format. 58 This supports 32-bit virtual and physical addresses mapped using 59 2-level tables with 4KB pages/1MB sections, and contiguous entries 66 Enable self-tests for ARMv7s page table allocator. This performs [all …]
|
| /linux/Documentation/networking/ |
| H A D | msg_zerocopy.rst | 15 ----------------------- 23 it replaces per byte copy cost with page accounting and completion 25 effective at writes over around 10 KB. 40 --------- 43 netdev 2.1. For more in-depth information see that paper and talk, 53 [PATCH net-next v4 0/9] socket sendmsg MSG_ZEROCOPY 54 https://lore.kernel.org/netdev/20170803202945.70750-1-willemdebruijn.kernel@gmail.com 64 ------------ 77 ------------ 86 A zerocopy failure will return -1 with errno ENOBUFS. This happens if [all …]
|
| /linux/Documentation/admin-guide/pm/ |
| H A D | intel_pstate.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 Documentation/admin-guide/pm/cpufreq.rst if you have not done that yet.] 24 For the processors supported by ``intel_pstate``, the P-state concept is broader 27 information about that). For this reason, the representation of P-states used 32 ``intel_pstate`` maps its internal representation of P-states to frequencies too 38 Since the hardware P-state selection interface used by ``intel_pstate`` is 43 time the corresponding CPU is taken offline and need to be re-initialized when 47 only way to pass early-configuration-time parameters to it is via the kernel 66 ----------- 69 hardware-managed P-states (HWP) support. If it works in this mode, the [all …]
|
| /linux/mm/ |
| H A D | swap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Linux VM subsystem. Fine-tuning documentation can be found in 11 * Documentation/admin-guide/sysctl/vm.rst. 32 #include <linux/backing-dev.h> 84 * This path almost never happens for VM activity - pages are normally freed 85 * in batches. But it gets used by networking - and for compound pages. 112 free_frozen_pages(&folio->page, folio_order(folio)); in __folio_put() 143 * folio->mlock_count = !!folio_test_mlocked(folio)? in lru_add() 149 folio->mlock_count = 0; in lru_add() 165 struct folio *folio = fbatch->folios[i]; in folio_batch_move_lru() [all …]
|
| /linux/LICENSES/dual/ |
| H A D | CDDL-1.0 | 1 Valid-License-Identifier: CDDL-1.0 2 SPDX-URL: https://spdx.org/licenses/CDDL-1.0.html 3 Usage-Guide: 4 Do NOT use. The CDDL-1.0 is not GPL2 compatible. It may only be used for 5 dual-licensed files where the other license is GPL2 compatible. 11 SPDX-License-Identifier: ($GPL-COMPATIBLE-ID OR CDDL-1.0) 13 License-Text: 90 hereby grants You a world-wide, royalty-free, non-exclusive 106 effective on the date Initial Developer first distributes 121 hereby grants You a world-wide, royalty-free, non-exclusive [all …]
|
| H A D | MPL-1.1 | 1 Valid-License-Identifier: MPL-1.1 2 SPDX-URL: https://spdx.org/licenses/MPL-1.1.html 3 Usage-Guide: 4 Do NOT use. The MPL-1.1 is not GPL2 compatible. It may only be used for 5 dual-licensed files where the other license is GPL2 compatible. 11 SPDX-License-Identifier: MPL-1.1 12 License-Text: 17 --------------- 81 appropriate decompression or de-archiving software is widely available 98 The Initial Developer hereby grants You a world-wide, royalty-free, [all …]
|
| /linux/block/ |
| H A D | blk-iocost.c | 1 /* SPDX-License-Identifier: GPL-2.0 3 * IO cost model based controller. 10 * observable cost metric. This is distinguished from CPU and memory where 17 * useless for the purpose of IO capacity distribution. While on-device 19 * non-queued rotational devices, this is no longer viable with modern 22 * While there is no cost metric we can trivially observe, it isn't a 23 * complete mystery. For example, on a rotational device, seek cost 27 * implement a reasonable work-conserving proportional IO resource 30 * 1. IO Cost Model 32 * IO cost model estimates the cost of an IO given its basic parameters and [all …]
|
| /linux/rust/kernel/ |
| H A D | task.rs | 1 // SPDX-License-Identifier: GPL-2.0 63 /// The following is an example of getting the PID of the current thread with zero additional cost 70 /// Getting the PID of the current process, also zero additional cost: 88 /// fn new() -> Self { 113 /// For example, to retrieve the pid-namespace of a task, you must use rcu protection unless it is 127 /// Other operations temporarily create a new sub-context: 143 fn deref(&self) -> &Task { in deref() 162 pub fn current_raw() -> *mu in current_raw() [all...] |
| /linux/kernel/bpf/ |
| H A D | cgroup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/bpf-cgroup.h> 22 #include "../cgroup/cgroup-internal.h" 76 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg() 77 item = &array->items[0]; in bpf_prog_run_array_cg() 79 while ((prog = READ_ONCE(item->pro in bpf_prog_run_array_cg() 1220 struct bpf_prog_array *effective; __cgroup_bpf_query() local [all...] |
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_64_entry.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 #include <asm/asm-offsets.h> 5 #include <asm/code-patching-asm.h> 6 #include <asm/exception-64s.h> 13 #include <asm/ultravisor-api.h> 16 * These are branched to from interrupt handlers in exception-64s.S which set 17 * IKVM_REAL or IKVM_VIRT, if HSTATE_IN_GUEST was found to be non-zero. 24 * This may also be a syscall from PR-KVM userspace that is to be 28 * and CR0, so PR-KVM can not support a guest kernel that preserves 53 * guest R9-R13, CTR, CFAR, PPR saved in PACA EX_xxx save area [all …]
|
| /linux/Documentation/admin-guide/sysctl/ |
| H A D | vm.rst | 13 ------------------------------------------------------------------------------ 27 - admin_reserve_kbytes 28 - compact_memory 29 - compaction_proactiveness 30 - compact_unevictable_allowed 31 - defrag_mode 32 - dirty_background_bytes 33 - dirty_background_ratio 34 - dirty_bytes 35 - dirty_expire_centisecs [all …]
|
| /linux/init/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 - Re-run Kconfig when the compiler is updated 13 - Ensure full rebuild when the compiler is updated 14 include/linux/compiler-version.h contains this option in the comment 16 auto-generated dependency. When the compiler is updated, syncconfig 20 def_bool $(success,test "$(cc-name)" = GCC) 24 default $(cc-version) if CC_IS_GCC 28 def_bool $(success,test "$(cc-name)" = Clang) 32 default $(cc-version) if CC_IS_CLANG 36 def_bool $(success,test "$(as-name)" = GNU) [all …]
|
| /linux/tools/include/linux/ |
| H A D | gfp_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * typedef gfp_t - Memory allocation flags. 23 * include/trace/events/mmflags.h and tools/perf/builtin-kmem.c 108 * Physical address zone modifiers (see linux/mmzone.h - low four bits) 124 * --------------------------------- 159 * Watermark modifiers -- controls access to emergency reserves 160 * ------------------------------------------------------------ 162 * %__GFP_HIGH indicates that the caller is high-priority and that granting 170 * be the MM or co-ordinating closely with the VM (e.g. swap over NFS). 174 * Usage of a pre-allocated pool (e.g. mempool) should be always considered [all …]
|
| /linux/kernel/cgroup/ |
| H A D | cpuset.c | 7 * Copyright (C) 2004-2007 Silicon Graphics, Inc. 11 * sysfs is Copyright (c) 2001-3 Patrick Mochel 13 * 2003-10-10 Written by Simon Derr. 14 * 2003-10-22 Updates by Stephen Hemminger. 15 * 2004 May-July Rework by Paul Jackson. 24 #include "cpuset-internal.h" 50 * node binding, add this key to provide a quick low-cost judgment 74 * Exclusive CPUs distributed out to local or remote sub-partitions of 96 * - update_partition_sd_lb() 97 * - update_cpumasks_hier() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-fs-f2fs | 26 gc_idle = 1 will select the Cost Benefit approach & setting 28 gc_idle = 3 will select the age-threshold based approach. 49 Description: Controls the in-place-update policy. 75 Description: Controls the FS utilization condition for the in-place-update 81 Description: Controls the dirty page count condition for the in-place-update 120 faster, at the cost of higher latency for incoming I/O. 257 Supported on-disk features: 314 little bit aggressively. always uses cost benefit GC approach, 315 and will override age-threshold GC approach if ATGC is enabled 319 always uses cost benefit GC approach, and will override [all …]
|
| /linux/Documentation/userspace-api/ |
| H A D | dma-buf-alloc-exchange.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. Copyright 2021-2023 Collabora Ltd. 9 support for sharing pixel-buffer allocations between processes, devices, and 12 approach this sharing for two-dimensional image data. 25 Conceptually a two-dimensional array of pixels. The pixels may be stored 30 A span along a single y-axis value, e.g. from co-ordinates (0,100) to 37 A span along a single x-axis value, e.g. from co-ordinates (100,0) to 46 A two-dimensional array of some or all of an image's color and alpha 80 A value that denotes the relationship between pixel-location co-ordinates 81 and byte-offset values. Typically used as the byte offset between two [all …]
|
| /linux/drivers/media/pci/tw5864/ |
| H A D | tw5864-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * TW5864 driver - registers description 8 /* According to TW5864_datasheet_0.6d.pdf, tw5864b1-ds.pdf */ 10 /* Register Description - Direct Map Space */ 11 /* 0x0000 ~ 0x1ffc - H264 Register Map */ 76 * 0->3 4 VLC data buffer in DDR (1M each) 77 * 0->7 8 VLC data buffer in DDR (512k each) 147 /* DDR-DPR Burst Read Enable */ 157 * 0 Single R/W Access (Host <-> DDR) 158 * 1 Burst R/W Access (Host <-> DPR) [all …]
|
| /linux/drivers/cpufreq/ |
| H A D | intel_pstate.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 #include <asm/intel-family.h> 56 #define ONE_EIGHTH_FP ((int64_t)1 << (FRAC_BITS - 3)) 78 mask = (1 << FRAC_BITS) - 1; in ceiling_fp() 95 * struct sample - Store performance sample 122 * struct pstate_data - Store P state data 129 * @perf_ctl_scaling: PERF_CTL P-state to frequency scaling factor 152 * struct vid_data - Stores voltage information data 157 * @ratio: Ratio of (vid max - vid min) / 158 * (max P state - Min P State) [all …]
|