/linux/tools/perf/bench/ |
H A D | synthesize.c | 1 // 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/tools/testing/selftests/membarrier/ |
H A D | membarrier_test_multi_thread.c | 1 // SPDX-License-Identifier: GPL-2.0 69 /* Multi-threaded */ in main()
|
/linux/fs/squashfs/ |
H A D | Kconfig | 1 # 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-off [all...] |
H A D | decompressor_multi_percpu.c | 1 // 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 …]
|
H A D | decompressor_multi.c | 1 // 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/include/acpi/platform/ |
H A D | acenv.h | 1 /* 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/Documentation/devicetree/bindings/dma/ |
H A D | img-mdc-dma.txt | 1 * 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/Documentation/staging/ |
H A D | xz.rst | 1 .. 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/Documentation/devicetree/bindings/mailbox/ |
H A D | mediatek,gce-props.yaml | 1 # 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 <houlong.wei@mediatek.com> 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/tools/perf/jvmti/ |
H A D | jvmti_agent.c | 17 * 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/drivers/irqchip/ |
H A D | irq-mips-cpu.c | 1 // 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/drivers/md/dm-vdo/ |
H A D | completion.c | 1 // 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/arch/arc/include/asm/ |
H A D | mmu_context.h | 1 /* 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/Documentation/scheduler/ |
H A D | sched-bwc.rst | 7 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-B86DC32E3D2B@linux.alibaba.com/ 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/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>`. 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 …]
|
H A D | ext4.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 (64 bit) in keeping with increasing disk capacities and state-of-the-art 12 Mailing list: linux-ext4@vger.kernel.org 23 - The latest version of e2fsprogs can be found at: 35 - Create a new filesystem using the ext4 filesystem type: 37 # mke2fs -t ext4 /dev/hda1 41 # tune2fs -O extents /dev/hda1 46 # tune2fs -I 256 /dev/hda1 48 - Mounting: 50 # mount -t ext4 /dev/hda1 /wherever [all …]
|
/linux/fs/xfs/ |
H A D | Kconfig | 1 # 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/Documentation/networking/ |
H A D | scaling.rst | 1 .. 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/Documentation/netlink/specs/ |
H A D | netdev.yaml | 1 # 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/Documentation/PCI/ |
H A D | pci-error-recovery.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 :Authors: - Linas Vepstas <linasvepstas@gmail.com> 9 - Richard Lary <rlary@us.ibm.com> 10 - Mike Mason <mmlnx@us.ibm.com> 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/Documentation/admin-guide/media/ |
H A D | philips.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 E-mail: webcam@smcc.demon.nl 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/include/linux/ |
H A D | zstd_lib.h | 5 * 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 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) 54 - a single step, reusing a dictionary (described as Bulk-processing [all …]
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A D | tsx_async_abort.rst | 1 .. 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 …]
|
/linux/arch/mips/include/asm/ |
H A D | mipsmtregs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright (C) 2004 - 2005 MIPS Technologies, Inc. All rights reserved. 289 /* enable multi-threaded execution if previous suggested it should be.
|
/linux/Documentation/core-api/ |
H A D | workqueue.rst | 31 In the original wq implementation, a multi threaded (MT) wq had one 32 worker thread per CPU and a single threaded (ST) wq had one worker 33 thread system-wide. A single MT wq needed to keep around the same 60 * Use per-CPU unified worker pools shared by all wq to provide 82 For threaded workqueues, special purpose threads, called [k]workers, execute 85 worker-pools. 87 The cmwq design differentiates between the user-facing workqueues that 89 which manages worker-pools and processes the queued work items. 91 There are two worker-pools, one for normal work items and the other 93 worker-pools to serve work items queued on unbound workqueues - the [all …]
|