Home
last modified time | relevance | path

Searched +full:cost +full:- +full:effective (Results 1 – 25 of 62) sorted by relevance

123

/linux-6.12.1/Documentation/admin-guide/
Dcgroup-v2.rst1 .. _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 …]
Dxfs.rst1 .. SPDX-License-Identifier: GPL-2.0
8 on the SGI IRIX platform. It is completely multi-threaded, can
15 for further details. This implementation is on-disk compatible
25 Sets the buffered I/O end-of-file preallocation size when
28 through to 1GiB, inclusive, in power-of-2 increments.
30 The default behaviour is for dynamic end-of-file
40 on-disk. When the new form is used for the first time when
42 attributes) the on-disk superblock feature bit field will be
45 The default behaviour is determined by the on-disk feature
116 Set the number of in-memory log buffers. Valid numbers
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/net/
Ddavicom,dm9051.yaml1 # 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-6.12.1/include/linux/
Denergy_model.h1 /* 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
66 * must have the same micro-architecture. Performance domains often have
67 * a 1-to-1 mapping with CPUFreq policies. In case of other devices the @cpus
80 * EM_PERF_DOMAIN_MICROWATTS: The power values are in micro-Watts or some
[all …]
Dgfp_types.h1 /* 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 …]
Dzstd_lib.h5 * This source code is licensed under both the BSD-style license (found in the
8 * You may select, at your option, one of the above-listed licenses.
36 real-time compression scenarios at zlib-level and better compression ratios.
37 The zstd compression library provides in-memory compression and decompression
41 which is currently 22. Levels >= 20, labeled `--ultra`, should be used with
44 The lower the level, the faster the speed (at the cost of compression).
47 - a single step (described as Simple API)
48 - a single step, reusing a context (described as Explicit context)
49 - unbounded multiple steps (described as Streaming compression)
53 - a single step (described as Simple dictionary API)
[all …]
Dcgroup-defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * linux/cgroup-defs.h - basic definitions for cgroup
18 #include <linux/percpu-refcount.h>
19 #include <linux/percpu-rwsem.h>
22 #include <linux/bpf-cgroup-defs.h>
52 CSS_ONLINE = (1 << 1), /* between ->css_online() and ->css_offline() */
79 /* cgroup_root->flags */
130 /* cftype->flags */
149 * be obtained by setting cftype->file_offset.
159 * Per-subsystem/per-cgroup state maintained by the system. This is the
[all …]
/linux-6.12.1/arch/powerpc/include/asm/
Dpage.h1 /* 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 …]
/linux-6.12.1/Documentation/scheduler/
Dsched-util-clamp.rst1 .. 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-6.12.1/Documentation/admin-guide/hw-vuln/
Dsrso.rst1 .. 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 …]
/linux-6.12.1/Documentation/networking/
Dmsg_zerocopy.rst15 -----------------------
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-6.12.1/drivers/iommu/
DKconfig1 # 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-6.12.1/block/
Dblk-iocost.c1 /* 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-6.12.1/LICENSES/dual/
DCDDL-1.01 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 …]
DMPL-1.11 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-6.12.1/mm/
Dswap.c1 // 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_unref_page(&folio->page, folio_order(folio)); in __folio_put()
117 * put_pages_list() - release a list of pages
118 * @pages: list of pages threaded on page->lru
174 * folio->mlock_count = !!folio_test_mlocked(folio)? in lru_add()
[all …]
/linux-6.12.1/kernel/bpf/
Dcgroup.c1 // 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 …]
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_64_entry.S1 /* 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-6.12.1/init/
DKconfig1 # 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-6.12.1/Documentation/admin-guide/sysctl/
Dvm.rst13 ------------------------------------------------------------------------------
27 - admin_reserve_kbytes
28 - compact_memory
29 - compaction_proactiveness
30 - compact_unevictable_allowed
31 - dirty_background_bytes
32 - dirty_background_ratio
33 - dirty_bytes
34 - dirty_expire_centisecs
35 - dirty_ratio
[all …]
/linux-6.12.1/kernel/cgroup/
Dcpuset.c7 * 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 "cgroup-internal.h"
25 #include "cpuset-internal.h"
50 * node binding, add this key to provide a quick low-cost judgment
68 * Exclusive CPUs distributed out to sub-partitions of top_cpuset
96 * 0 - member (not a partition root)
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c2 * SPDX-License-Identifier: MIT
4 * Copyright © 2008-2015 Intel Corporation
13 #include <linux/dma-buf.h>
37 return swap_available() || obj->mm.madv == I915_MADV_DONTNEED; in can_release_pages()
61 if (obj->ops->shrink) { in try_to_writeback()
70 return obj->ops->shrink(obj, shrink_flags); in try_to_writeback()
77 * i915_gem_shrink - Shrink buffer object caches
90 * free system memory - the pages might still be in-used to due to other reasons
95 * Also note that any kind of pinning (both per-vma address space pins and
113 { &i915->mm.purge_list, ~0u }, in i915_gem_shrink()
[all …]
/linux-6.12.1/tools/perf/bench/
Depoll-wait.c1 // SPDX-License-Identifier: GPL-2.0
11 * |---> [worker A]
12 * |---> [worker B]
13 * [combined queue] .---> [worker C]
14 * |---> [worker D]
15 * |---> [worker E]
17 * While the second model, enabled via --multiq option, uses multiple
23 * [queue A] ---> [worker]
24 * [queue B] ---> [worker]
25 * [queue C] ---> [worker]
[all …]
/linux-6.12.1/Documentation/userspace-api/
Ddma-buf-alloc-exchange.rst1 .. 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-6.12.1/drivers/media/pci/tw5864/
Dtw5864-reg.h1 /* 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 …]

123