Home
last modified time | relevance | path

Searched +full:multi +full:- +full:threaded (Results 1 – 25 of 96) sorted by relevance

1234

/linux-6.14.4/tools/perf/bench/
Dsynthesize.c1 // SPDX-License-Identifier: GPL-2.0
14 #include "../util/synthetic-events.h"
22 #include <subcmd/parse-options.h>
32 OPT_BOOLEAN('s', "st", &run_st, "Run single threaded benchmark"),
33 OPT_BOOLEAN('t', "mt", &run_mt, "Run multi-threaded benchmark"),
34 OPT_UINTEGER('m', "min-threads", &min_threads,
36 OPT_UINTEGER('M', "max-threads", &max_threads,
38 OPT_UINTEGER('i', "single-iterations", &single_iterations,
39 "Number of iterations used to compute single-threaded average"),
40 OPT_UINTEGER('I', "multi-iterations", &multi_iterations,
[all …]
/linux-6.14.4/tools/testing/selftests/membarrier/
Dmembarrier_test_multi_thread.c1 // SPDX-License-Identifier: GPL-2.0
69 /* Multi-threaded */ in main()
/linux-6.14.4/fs/squashfs/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SquashFS 4.0 - Squashed file system support"
7 Read-Only File System). Squashfs is a highly compressed read-only
16 Squashfs is intended for general read-only filesystem use, for
19 and tools are available from github.com/plougher/squashfs-tools.
88 decompression. Each one exhibits various trade-offs between
91 If in doubt, select "Single threaded compression"
94 bool "Single threaded compression"
97 Traditionally Squashfs has used single-threaded decompression.
126 decompression is load-balanced across the cores.
[all …]
Ddecompressor_multi_percpu.c1 // SPDX-License-Identifier: GPL-2.0-only
18 * This file implements multi-threaded decompression using percpu
36 return ERR_PTR(-ENOMEM); in squashfs_decompressor_create()
40 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create()
41 if (IS_ERR(stream->stream)) { in squashfs_decompressor_create()
42 err = PTR_ERR(stream->stream); in squashfs_decompressor_create()
45 local_lock_init(&stream->lock); in squashfs_decompressor_create()
54 if (!IS_ERR_OR_NULL(stream->stream)) in squashfs_decompressor_create()
55 msblk->decompressor->free(stream->stream); in squashfs_decompressor_create()
64 (void __percpu *)(unsigned long) msblk->stream; in squashfs_decompressor_destroy()
[all …]
Ddecompressor_multi.c1 // SPDX-License-Identifier: GPL-2.0-only
20 * This file implements multi-threaded decompression in the
55 mutex_lock(&stream->mutex); in put_decomp_stream()
56 list_add(&decomp_strm->list, &stream->strm_list); in put_decomp_stream()
57 mutex_unlock(&stream->mutex); in put_decomp_stream()
58 wake_up(&stream->wait); in put_decomp_stream()
66 int err = -ENOMEM; in squashfs_decompressor_create()
72 stream->comp_opts = comp_opts; in squashfs_decompressor_create()
73 mutex_init(&stream->mutex); in squashfs_decompressor_create()
74 INIT_LIST_HEAD(&stream->strm_list); in squashfs_decompressor_create()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/dma/
Dimg-mdc-dma.txt1 * IMG Multi-threaded DMA Controller (MDC)
4 - compatible: Must be "img,pistachio-mdc-dma".
5 - reg: Must contain the base address and length of the MDC registers.
6 - interrupts: Must contain all the per-channel DMA interrupts.
7 - clocks: Must contain an entry for each entry in clock-names.
8 See ../clock/clock-bindings.txt for details.
9 - clock-names: Must include the following entries:
10 - sys: MDC system interface clock.
11 - img,cr-periph: Must contain a phandle to the peripheral control syscon
13 - img,max-burst-multiplier: Must be the maximum supported burst size multiplier.
[all …]
/linux-6.14.4/include/acpi/platform/
Dacenv.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
4 * Name: acenv.h - Host and compiler configuration
6 * Copyright (C) 2000 - 2023, Intel Corp.
15 * to the local environment. This includes compiler-specific, OS-specific,
16 * and machine-specific configuration.
35 /* Common application configuration. All single threaded except for acpi_exec. */
205 * EFI applications can be built with -nostdlib, in this case, it must be
230 /* 64-bit data types */
255 /* NULL/invalid value to use for destroyed or not-yet-created semaphores. */
261 /* Flush CPU cache - used when going to sleep. Wbinvd or similar. */
[all …]
/linux-6.14.4/Documentation/staging/
Dxz.rst1 .. SPDX-License-Identifier: 0BSD
19 For userspace, `XZ Utils`_ provide a zlib-like compression library
20 and a gzip-like command line tool.
28 The xz_dec module provides XZ decompressor with single-call (buffer
29 to buffer) and multi-call (stateful) APIs in include/linux/xz.h.
39 - ``$(call if_changed,xzkern)`` is for compressing the kernel image.
40 It runs the script scripts/xz_wrap.sh which uses arch-optimized
43 - ``$(call if_changed,xzkern_with_size)`` is like ``xzkern`` above but
44 this also appends a four-byte trailer containing the uncompressed size
47 - Other things can be compressed with ``$(call if_needed,xzmisc)``
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/mailbox/
Dmediatek,gce-props.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mailbox/mediatek,gce-props.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Houlong Wei <[email protected]>
13 The Global Command Engine (GCE) is an instruction based, multi-threaded,
14 single-core command dispatcher for MediaTek hardware. The Command Queue
18 We use mediatek,gce-mailbox.yaml to define the properties for CMDQ mailbox
28 mediatek,gce-events:
32 The property mediatek,gce-events is used to obtain the event IDs.
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gt/
Dintel_gt_pm_debugfs.c1 // SPDX-License-Identifier: MIT
29 atomic_inc(&gt->user_wakeref); in intel_gt_pm_debugfs_forcewake_user_open()
31 if (GRAPHICS_VER(gt->i915) >= 6) in intel_gt_pm_debugfs_forcewake_user_open()
32 intel_uncore_forcewake_user_get(gt->uncore); in intel_gt_pm_debugfs_forcewake_user_open()
37 if (GRAPHICS_VER(gt->i915) >= 6) in intel_gt_pm_debugfs_forcewake_user_release()
38 intel_uncore_forcewake_user_put(gt->uncore); in intel_gt_pm_debugfs_forcewake_user_release()
40 atomic_dec(&gt->user_wakeref); in intel_gt_pm_debugfs_forcewake_user_release()
45 struct intel_gt *gt = inode->i_private; in forcewake_user_open()
54 struct intel_gt *gt = inode->i_private; in forcewake_user_release()
69 struct intel_gt *gt = m->private; in fw_domains_show()
[all …]
/linux-6.14.4/tools/perf/jvmti/
Djvmti_agent.c17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
59 int fd, ret = -1; in get_e_machine()
66 if (fd == -1) in get_e_machine()
67 return -1; in get_e_machine()
81 hdr->elf_mach = info.e_machine; in get_e_machine()
110 return ((uint64_t) ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec; in timespec_to_ns()
147 strftime(str, sizeof(str), JIT_LANG"-jit-%Y%m%d", &tm); in create_jit_cache_dir()
154 return -1; in create_jit_cache_dir()
157 if (ret == -1) { in create_jit_cache_dir()
160 return -1; in create_jit_cache_dir()
[all …]
/linux-6.14.4/drivers/irqchip/
Dirq-mips-cpu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 * may be used for IPIs in multi-threaded single-core systems.
42 set_c0_status(IE_SW0 << d->hwirq); in unmask_mips_irq()
48 clear_c0_status(IE_SW0 << d->hwirq); in mask_mips_irq()
71 clear_c0_cause(C_SW0 << d->hwirq); in mips_mt_cpu_irq_startup()
84 clear_c0_cause(C_SW0 << d->hwirq); in mips_mt_cpu_irq_ack()
141 irq = fls(pending) - 1; in plat_irq_dispatch()
186 struct cpu_ipi_domain_state *state = domain->host_data; in mips_cpu_ipi_alloc()
191 hwirq = find_first_zero_bit(state->allocated, 2); in mips_cpu_ipi_alloc()
193 return -EBUSY; in mips_cpu_ipi_alloc()
[all …]
/linux-6.14.4/Documentation/mm/
Dsplit_page_table_lock.rst5 Originally, mm->page_table_lock spinlock protected all page tables of the
7 multi-threaded applications due high contention on the lock. To improve
10 With split page table lock we have separate per-table lock to serialize
12 tables. Access to higher level tables protected by mm->page_table_lock.
16 - pte_offset_map_lock()
19 - pte_offset_map_ro_nolock()
22 - pte_offset_map_rw_nolock()
26 - pte_offset_map()
28 - pte_unmap()
30 - pte_unmap_unlock()
[all …]
/linux-6.14.4/drivers/md/dm-vdo/
Dcompletion.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include "status-codes.h"
27 * At each step of a multi-threaded operation, the completion performing the operation is given a
43 * is next run. It is a bug to attempt to set the result or re-finish a finished completion.
46 * programming errors. It can not be used for cross-thread checking on the status of an operation.
56 completion->vdo = vdo; in vdo_initialize_completion()
57 completion->type = type; in vdo_initialize_completion()
63 VDO_ASSERT_LOG_ONLY(!completion->complete, "completion is not complete"); in assert_incomplete()
67 * vdo_set_completion_result() - Set the result of a completion.
74 if (completion->result == VDO_SUCCESS) in vdo_set_completion_result()
[all …]
/linux-6.14.4/arch/arc/include/asm/
Dmmu_context.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
6 * -Refactored get_new_mmu_context( ) to only handle live-mm.
7 * retiring-mm handled in other hooks
10 * -Major rewrite of Core ASID allocation routine get_new_mmu_context
21 #include <asm-generic/mm_hooks.h>
25 * MMU tags TLBs with an 8-bit ASID, avoiding need to flush the TLB on
26 * context-switch.
32 * Each task is assigned unique ASID, with a simple round-robin allocator
33 * tracked in @asid_cpu. When 8-bit value rolls over,a new cycle is started
[all …]
/linux-6.14.4/Documentation/scheduler/
Dsched-bwc.rst7 The SCHED_RT case is covered in Documentation/scheduler/sched-rt-group.rst
14 microseconds of CPU time. That quota is assigned to per-cpu run queues in
22 is transferred to cpu-local "silos" on a demand basis. The amount transferred
26 -------------
30 Traditional (UP-EDF) bandwidth control is something like:
66 https://lore.kernel.org/lkml/5371BD36-55AE-4F71-B9D7-[email protected]/
69 ----------
75 :ref:`Documentation/admin-guide/cgroup-v2.rst <cgroup-v2-cpu>`.
77 - cpu.cfs_quota_us: run-time replenished within a period (in microseconds)
78 - cpu.cfs_period_us: the length of a period (in microseconds)
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/fs/xfs/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 on the SGI IRIX platform. It is completely multi-threaded, can
17 for complete details. This implementation is on-disk compatible
51 bool "Support deprecated case-insensitive ascii (ascii-ci=1) format"
56 on systems that have been coerced into using ISO 8859-1, and it does
58 the locale settings in userspace, so it corrupts UTF-8 names.
66 beginning with "ascii-ci=". If the string "ascii-ci=1" is found, the
67 filesystem is a case-insensitive filesystem. If no such string is
74 To continue supporting case-insensitivity (ascii-ci=1), say Y.
85 higher level guarantee of consistency. The on-disk data format for
[all …]
/linux-6.14.4/tools/testing/selftests/efivarfs/
Defivarfs.sh2 # SPDX-License-Identifier: GPL-2.0
5 test_guid=210be57c-9849-4fc7-a635-e6382d1aec27
7 # Kselftest framework requirement - SKIP code is 4.
12 chattr -i $1
13 rm -f $1
25 if ! grep -q "^\S\+ $efivarfs_mount efivarfs" /proc/mounts; then
35 echo "--------------------"
37 echo "--------------------"
39 if [ "$(type -t $test)" = 'function' ]; then
45 if [ $? -ne 0 ]; then
[all …]
/linux-6.14.4/Documentation/networking/
Dscaling.rst1 .. SPDX-License-Identifier: GPL-2.0
13 multi-processor systems.
17 - RSS: Receive Side Scaling
18 - RPS: Receive Packet Steering
19 - RFS: Receive Flow Steering
20 - Accelerated Receive Flow Steering
21 - XPS: Transmit Packet Steering
28 (multi-queue). On reception, a NIC can send different packets to different
33 generally known as “Receive-side Scaling” (RSS). The goal of RSS and
35 Multi-queue distribution can also be used for traffic prioritization, but
[all …]
/linux-6.14.4/Documentation/netlink/specs/
Dnetdev.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
9 -
11 name: xdp-act
12 render-max: true
14 -
19 -
23 -
24 name: ndo-xmit
27 -
28 name: xsk-zerocopy
[all …]
/linux-6.14.4/Documentation/PCI/
Dpci-error-recovery.rst1 .. SPDX-License-Identifier: GPL-2.0
8 :Authors: - Linas Vepstas <[email protected]>
9 - Richard Lary <[email protected]>
10 - Mike Mason <[email protected]>
16 chipsets are able to deal with these errors; these include PCI-E chipsets,
17 and the PCI-host bridges found on IBM Power4, Power5 and Power6-based
32 including multiple instances of a device driver on multi-function
34 waiting for some i/o-space register to change, when it never will.
39 is forced by the need to handle multi-function devices, that is,
42 of reset it desires, the choices being a simple re-enabling of I/O
[all …]
/linux-6.14.4/Documentation/admin-guide/media/
Dphilips.rst1 .. SPDX-License-Identifier: GPL-2.0
7 E-mail: [email protected] Last updated: 2004-01-19
30 * Samsung MPC-C10
31 * Samsung MPC-C30
33 * AME CU-001
34 * Visionite VCS-UM100
35 * Visionite VCS-UC300
46 the latter, since it makes troubleshooting a lot easier. The built-in
50 camera; some programs depend on a particular image-size or -format and
60 Specifies the desired framerate. Is an integer in the range of 4-30.
[all …]
/linux-6.14.4/drivers/dma/
Dimg-mdc-dma.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * IMG Multi-threaded DMA Controller (MDC)
10 #include <linux/dma-mapping.h>
28 #include "virt-dma.h"
150 return readl(mdma->regs + reg); in mdc_readl()
155 writel(val, mdma->regs + reg); in mdc_writel()
160 return mdc_readl(mchan->mdma, mchan->chan_nr * 0x040 + reg); in mdc_chan_readl()
165 mdc_writel(mchan->mdma, val, mchan->chan_nr * 0x040 + reg); in mdc_chan_writel()
182 return mdma->dma_dev.dev; in mdma2dev()
187 return ffs(bytes) - 1; in to_mdc_width()
[all …]
/linux-6.14.4/Documentation/admin-guide/hw-vuln/
Dtsx_async_abort.rst1 .. SPDX-License-Identifier: GPL-2.0
3 TAA - TSX Asynchronous Abort
11 -------------------
23 ------------
28 CVE-2019-11135 TAA TSX Asynchronous Abort (TAA) condition on some
36 -------
43 hardware transactional memory support to improve performance of multi-threaded
58 Because the buffers are potentially shared between Hyper-Threads cross
59 Hyper-Thread attacks are possible.
70 ----------------
[all …]

1234