Home
last modified time | relevance | path

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

123

/Linux-v6.1/include/linux/
Denergy_model.h1 /* 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 …]
Dgfp_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * typedef gfp_t - Memory allocation flags.
21 * include/trace/events/mmflags.h and tools/perf/builtin-kmem.c
66 * Physical address zone modifiers (see linux/mmzone.h - low four bits)
82 * ---------------------------------
114 * Watermark modifiers -- controls access to emergency reserves
115 * ------------------------------------------------------------
117 * %__GFP_HIGH indicates that the caller is high-priority and that granting
128 * be the MM or co-ordinating closely with the VM (e.g. swap over NFS).
132 * 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.
28 real-time compression scenarios at zlib-level and better compression ratios.
29 The zstd compression library provides in-memory compression and decompression
33 which is currently 22. Levels >= 20, labeled `--ultra`, should be used with
36 The lower the level, the faster the speed (at the cost of compression).
39 - a single step (described as Simple API)
40 - a single step, reusing a context (described as Explicit context)
41 - unbounded multiple steps (described as Streaming compression)
45 - 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 */
120 /* cftype->flags */
139 * be obtained by setting cftype->file_offset.
149 * Per-subsystem/per-cgroup state maintained by the system. This is the
[all …]
/Linux-v6.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-v6.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-v6.1/arch/powerpc/include/asm/
Dpage.h1 /* 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 …]
/Linux-v6.1/Documentation/networking/
Dmsg_zerocopy.rst14 -----------------------
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 …]
/Linux-v6.1/drivers/iommu/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 # The IOVA library may also be used by non-IOMMU_API users
6 # The IOASID library may also be used by non-IOMMU_API users
39 sizes at both stage-1 and stage-2, as well as address spaces
40 up to 48-bits in size.
46 Enable self-tests for LPAE page table allocator. This performs
47 a series of page-table consistency checks during boot.
56 Enable support for the ARM Short-descriptor pagetable format.
57 This supports 32-bit virtual and physical addresses mapped using
58 2-level tables with 4KB pages/1MB sections, and contiguous entries
[all …]
/Linux-v6.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-v6.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-v6.1/kernel/bpf/
Dcgroup.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <linux/bpf-cgroup.h>
22 #include "../cgroup/cgroup-internal.h"
46 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg()
47 item = &array->items[0]; in bpf_prog_run_array_cg()
49 while ((prog = READ_ONCE(item->prog))) { in bpf_prog_run_array_cg()
57 run_ctx.retval = -EPERM; in bpf_prog_run_array_cg()
78 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_sock()
80 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_lsm_sock()
82 ret = bpf_prog_run_array_cg(&cgrp->bpf, in __cgroup_bpf_run_lsm_sock()
[all …]
/Linux-v6.1/arch/powerpc/kvm/
Dbook3s_64_entry.S1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #include <asm/asm-offsets.h>
4 #include <asm/code-patching-asm.h>
5 #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-v6.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-v6.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-v6.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.
60 #include <linux/backing-dev.h>
75 * node binding, add this key to provide a quick low-cost judgment
121 * The user-configured masks can only be changed by writing to
125 * The effective masks is the real masks that apply to the tasks
135 * The user-configured masks are always the same with effective masks.
[all …]
/Linux-v6.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>
36 return swap_available() || obj->mm.madv == I915_MADV_DONTNEED; in can_release_pages()
60 if (obj->ops->shrink) { in try_to_writeback()
69 return obj->ops->shrink(obj, shrink_flags); in try_to_writeback()
76 * i915_gem_shrink - Shrink buffer object caches
89 * free system memory - the pages might still be in-used to due to other reasons
94 * Also note that any kind of pinning (both per-vma address space pins and
112 { &i915->mm.purge_list, ~0u }, in i915_gem_shrink()
[all …]
/Linux-v6.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-v6.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 …]
/Linux-v6.1/Documentation/filesystems/
Dfscrypt.rst2 Filesystem-level encryption (fscrypt)
11 Note: "fscrypt" in this document refers to the kernel-level portion,
14 covers the kernel-level portion. For command-line examples of how to
20 <https://source.android.com/security/encryption/file-based>`_, over
25 Unlike dm-crypt, fscrypt operates at the filesystem level rather than
28 filesystem. This is useful for multi-user systems where each user's
29 data-at-rest needs to be cryptographically isolated from the others.
34 directly into supported filesystems --- currently ext4, F2FS, and
44 fscrypt does not support encrypting files in-place. Instead, it
54 ---------------
[all …]
Dpath-lookup.rst5 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-v6.1/Documentation/admin-guide/pm/
Dcpufreq.rst1 .. SPDX-License-Identifier: GPL-2.0
20 Operating Performance Points or P-states (in ACPI terminology). As a rule,
24 time (or the more power is drawn) by the CPU in the given P-state. Therefore
29 as possible and then there is no reason to use any P-states different from the
30 highest one (i.e. the highest-performance frequency/voltage configuration
38 put into different P-states.
41 capacity, so as to decide which P-states to put the CPUs into. Of course, since
64 information on the available P-states (or P-state ranges in some cases) and
65 access platform-specific hardware interfaces to change CPU P-states as requested
70 performance scaling algorithms for P-state selection can be represented in a
[all …]
/Linux-v6.1/arch/powerpc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
21 # On Book3S 64, the default virtual address space for 64-bit processes
24 # between bottom-up and top-down allocations for applications that
27 default 29 if PPC_BOOK3S_64 && PPC_64K_PAGES # 29 = 45 (32T) - 16 (64K)
28 default 33 if PPC_BOOK3S_64 # 33 = 45 (32T) - 12 (4K)
30 # On all other 64-bit platforms (currently only Book3E), the virtual
33 default 32 if 64BIT # 32 = 44 (16T) - 12 (4K)
35 # For 32-bit, use the compat values, as they're the same.
40 default 14 if 64BIT && PPC_64K_PAGES # 14 = 30 (1GB) - 16 (64K)
41 default 18 if 64BIT # 18 = 30 (1GB) - 12 (4K)
[all …]

123