| /kernel/linux/linux-6.6/include/linux/ |
| D | energy_model.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 * struct em_perf_state - Performance state of a performance domain 18 * @cost: The cost coefficient associated with this level, used during 25 unsigned long cost; member 34 * but a lower or equal power cost. Such inefficient states are ignored when 40 * struct em_perf_domain - Performance domain 51 * must have the same micro-architecture. Performance domains often have 52 * a 1-to-1 mapping with CPUFreq policies. In case of other devices the @cpus 65 * EM_PERF_DOMAIN_MICROWATTS: The power values are in micro-Watts or some 78 #define em_span_cpus(em) (to_cpumask((em)->cpus)) [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | cgroup-v2.rst | 9 conventions of cgroup v2. It describes all userland-visible aspects 12 v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`. 17 1-1. Terminology 18 1-2. What is cgroup? 20 2-1. Mounting 21 2-2. Organizing Processes and Threads 22 2-2-1. Processes 23 2-2-2. Threads 24 2-3. [Un]populated Notification 25 2-4. Controlling Controllers [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/nds32/ |
| D | andestech-boards | 2 ----------------------------------------------------------------------------- 7 - compatible = "andestech,ae3xx"; 10 /dts-v1/; 13 #address-cells = <1>; 14 #size-cells = <1>; 15 interrupt-parent = <&intc>; 19 ----------------------------------------------------------------------------- 21 processors to provide a cost-effective and high performance solution for 28 system environment for early prototyping and software/hardware co-development. 34 /dts-v1/; [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/hw-vuln/ |
| D | srso.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 known scenario of poisoning CPU functional units - the Branch Target 9 Buffer (BTB) and Return Address Predictor (RAP) in this case - and then 14 Return Address Stack/Return Stack Buffer). In some cases, a non-architectural 20 but the concern is that an attacker can mis-train the CPU BTB to predict 21 non-architectural CALL instructions in kernel space and use this to 23 leading to information disclosure via a speculative side-channel. 25 The issue is tracked under CVE-2023-20569. 28 ------------------- 30 AMD Zen, generations 1-4. That is, all families 0x17 and 0x19. Older [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/hw-vuln/ |
| D | srso.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 known scenario of poisoning CPU functional units - the Branch Target 9 Buffer (BTB) and Return Address Predictor (RAP) in this case - and then 14 Return Address Stack/Return Stack Buffer). In some cases, a non-architectural 20 but the concern is that an attacker can mis-train the CPU BTB to predict 21 non-architectural CALL instructions in kernel space and use this to 23 leading to information disclosure via a speculative side-channel. 25 The issue is tracked under CVE-2023-20569. 28 ------------------- 30 AMD Zen, generations 1-4. That is, all families 0x17 and 0x19. Older [all …]
|
| /kernel/linux/linux-6.6/Documentation/scheduler/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
| D | page.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 #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) 48 #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) 66 * KERNELBASE - PAGE_OFFSET = PHYSICAL_START - MEMORY_START 71 * va = pa + PAGE_OFFSET - MEMORY_START 72 * va = pa + KERNELBASE - PHYSICAL_START 82 #define LOAD_OFFSET ASM_CONST((CONFIG_KERNEL_START-CONFIG_PHYSICAL_START)) [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
| D | page.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <asm/asm-const.h> 39 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) 40 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) 41 #define HUGE_MAX_HSTATE (MMU_PAGE_COUNT-1) 49 #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) 67 * KERNELBASE - PAGE_OFFSET = PHYSICAL_START - MEMORY_START 72 * va = pa + PAGE_OFFSET - MEMORY_START 73 * va = pa + KERNELBASE - PHYSICAL_START 83 #define LOAD_OFFSET ASM_CONST((CONFIG_KERNEL_START-CONFIG_PHYSICAL_START)) [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/ |
| D | msg_zerocopy.rst | 14 ----------------------- 22 it replaces per byte copy cost with page accounting and completion 24 effective at writes over around 10 KB. 39 --------- 42 netdev 2.1. For more in-depth information see that paper and talk, 52 [PATCH net-next v4 0/9] socket sendmsg MSG_ZEROCOPY 53 https://lore.kernel.org/netdev/20170803202945.70750-1-willemdebruijn.kernel@gmail.com 63 ------------ 76 ------------ 85 A zerocopy failure will return -1 with errno ENOBUFS. This happens if [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | msg_zerocopy.rst | 14 ----------------------- 22 it replaces per byte copy cost with page accounting and completion 24 effective at writes over around 10 KB. 39 --------- 42 netdev 2.1. For more in-depth information see that paper and talk, 52 [PATCH net-next v4 0/9] socket sendmsg MSG_ZEROCOPY 53 https://lkml.kernel.org/netdev/20170803202945.70750-1-willemdebruijn.kernel@gmail.com 63 ------------ 76 ------------ 85 A zerocopy failure will return -1 with errno ENOBUFS. This happens if [all …]
|
| /kernel/linux/linux-6.6/drivers/iommu/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 # The IOVA library may also be used by non-IOMMU_API users 36 sizes at both stage-1 and stage-2, as well as address spaces 37 up to 48-bits in size. 43 Enable self-tests for LPAE page table allocator. This performs 44 a series of page-table consistency checks during boot. 53 Enable support for the ARM Short-descriptor pagetable format. 54 This supports 32-bit virtual and physical addresses mapped using 55 2-level tables with 4KB pages/1MB sections, and contiguous entries 62 Enable self-tests for ARMv7s page table allocator. This performs [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | memcg_reclaim.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2020-2022 Huawei Technologies Co., Ltd. 8 #include <linux/backing-dev.h> 18 return !sc->may_swap || !swappiness || !get_nr_swap_pages(); in is_swap_not_allowed() 59 if (!sc->priority && swappiness) { in get_scan_count_hyperhold() 65 pgdatfree = sum_zone_node_page_state(pgdat->node_id, NR_FREE_PAGES); in get_scan_count_hyperhold() 70 struct zone *zone = &pgdat->node_zones[z]; in get_scan_count_hyperhold() 86 sc->reclaim_idx) >> in get_scan_count_hyperhold() 87 (unsigned int)sc->priority)) { in get_scan_count_hyperhold() 106 lruvec_lru_size(lruvec, LRU_INACTIVE_FILE, sc->reclaim_idx) >> sc->priority) { in get_scan_count_hyperhold() [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | memcg_reclaim.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2020-2022 Huawei Technologies Co., Ltd. 8 #include <linux/backing-dev.h> 20 return !sc->may_swap || !swappiness || !get_nr_swap_pages(); in is_swap_not_allowed() 61 if (!sc->priority && swappiness) { in get_scan_count_hyperhold() 67 pgdatfree = sum_zone_node_page_state(pgdat->node_id, NR_FREE_PAGES); in get_scan_count_hyperhold() 72 struct zone *zone = &pgdat->node_zones[z]; in get_scan_count_hyperhold() 88 sc->reclaim_idx) >> in get_scan_count_hyperhold() 89 (unsigned int)sc->priority)) { in get_scan_count_hyperhold() 108 lruvec_lru_size(lruvec, LRU_INACTIVE_FILE, sc->reclaim_idx) >> sc->priority) { in get_scan_count_hyperhold() [all …]
|
| 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> 78 * This path almost never happens for VM activity - pages are normally freed 79 * in batches. But it gets used by networking - and for compound pages. 98 free_unref_page(&folio->page, 0); in __folio_put_small() 117 free_zone_device_page(&folio->page); in __folio_put() 126 * put_pages_list() - release a list of pages 127 * @pages: list of pages threaded on page->lru [all …]
|
| /kernel/linux/linux-6.6/block/ |
| 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 …]
|
| /kernel/linux/linux-5.10/block/ |
| 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 …]
|
| /kernel/linux/linux-5.10/LICENSES/dual/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/LICENSES/dual/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/kernel/bpf/ |
| D | cgroup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/bpf-cgroup.h> 22 #include "../cgroup/cgroup-internal.h" 63 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg() 64 item = &array->items[0]; in bpf_prog_run_array_cg() 66 while ((prog = READ_ONCE(item->prog))) { in bpf_prog_run_array_cg() 74 run_ctx.retval = -EPERM; in bpf_prog_run_array_cg() 95 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_sock() 97 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_lsm_sock() 99 ret = bpf_prog_run_array_cg(&cgrp->bpf, in __cgroup_bpf_run_lsm_sock() [all …]
|
| /kernel/linux/linux-6.6/init/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/powerpc/kvm/ |
| 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 …]
|