| /linux/Documentation/RCU/ |
| H A D | checklist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 0. Is RCU being applied to a read-mostly situation? If the data 18 tool for the job. Yes, RCU does reduce read-side overhead by 19 increasing write-side overhead, which is exactly why normal uses 27 Yet another exception is where the low real-time latency of RCU's 28 read-side primitives is critically important. 33 counter-intuitive situation where rcu_read_lock() and 49 them -- even x86 allows later loads to be reordered to precede 54 relating to itself that other tasks can read, there by definition 59 2. Do the RCU read-side critical sections make proper use of [all …]
|
| H A D | whatisRCU.rst | 3 What is RCU? -- "Read, Copy, Update" 24 …ries: Fundamentals https://www.linuxfoundation.org/webinars/unraveling-rcu-usage-mysteries 25 …Cases https://www.linuxfoundation.org/webinars/unraveling-rcu-usage-mysteries-additional-use-cases 31 during the 2.5 development effort that is optimized for read-mostly 50 :ref:`6. ANALOGY WITH READER-WRITER LOCKING <6_whatisRCU>` 59 Section 1, though most readers will profit by reading this section at 64 into the kernel source code. People who reason best by analogy should 70 everything, feel free to read the whole thing -- but if you are really 72 never need this document anyway. ;-) 77 ---------------- [all …]
|
| H A D | lockdep-splat.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Lockdep-RCU Splat 7 Lockdep-RCU was added to the Linux kernel in early 2010 10 family to access an RCU-protected pointer without the proper protection. 11 When such misuse is detected, an lockdep-RCU splat is emitted. 13 The usual cause of a lockdep-RCU splat is someone accessing an 14 RCU-protected data structure without either (1) being in the right kind of 15 RCU read-side critical section or (2) holding the right update-side lock. 20 So let's look at an example RCU lockdep splat from 3.0-rc5, one that 25 ----------------------------- [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/silvermont/ |
| H A D | virtual-memory.json | 13 "BriefDescription": "Total cycles for all the page walks. (I-side and D-side)", 22 "BriefDescription": "Duration of D-side page-walks in core cycles", 26 …when a D-side (walks due to a load) page walk is in progress. Page walk duration divided by number… 31 "BriefDescription": "D-side page-walks", 36 …ce a page walk implies a TLB miss, the number of TLB misses can be counted by counting the number … 41 "BriefDescription": "Duration of I-side page-walks in core cycles", 45 …I-side (walks due to an instruction fetch) page walk is in progress. Page walk duration divided by… 50 "BriefDescription": "I-side page-walks", 55 …ce a page walk implies a TLB miss, the number of TLB misses can be counted by counting the number … 60 "BriefDescription": "Total page walks that are completed (I-side and D-side)", [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/ampere/ampereone/ |
| H A D | core-imp-def.json | 99 "PublicDescription": "Macro-ops speculatively decoded", 102 "BriefDescription": "Macro-ops speculatively decoded" 249 "PublicDescription": "Number of SWOB drains triggered by timeout", 252 "BriefDescription": "Number of SWOB drains triggered by timeout" 255 … "Number of SWOB drains triggered by system register or special-purpose register read-after-write … 258 … "Number of SWOB drains triggered by system register or special-purpose register read-after-write … 261 … "PublicDescription": "Number of SWOB drains triggered by system register write when SWOB full", 264 … "BriefDescription": "Number of SWOB drains triggered by system register write when SWOB full" 297 "PublicDescription": "Instructions issued by the scheduler", 300 "BriefDescription": "Instructions issued by the scheduler" [all …]
|
| /linux/Documentation/usb/ |
| H A D | gadget_serial.rst | 7 (updated 8-May-2008 for v2.3) 11 ---------------------- 14 published by the Free Software Foundation; either version 2 of 25 MA 02111-1307 USA. 28 Copyright (C) 2004 by Al Borchers (alborchers@steinerpoint.com). 35 ------------- 55 -------- 57 side driver. It runs on a Linux system that has USB device side 65 -------------------------------------- 66 | Host-Side CDC ACM USB Host | [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/ivytown/ |
| H A D | uncore-cache.json | 15 …ted information by filtering the Cb0 occupancy count captured in Counter 0. The filtering availa… 24 … LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numer… 34 … LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numer… 44 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 54 … LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numer… 64 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 74 … the number of lines that were victimized on a fill. This can be filtered by the state that the l… 84 … the number of lines that were victimized on a fill. This can be filtered by the state that the l… 94 … the number of lines that were victimized on a fill. This can be filtered by the state that the l… 104 …imized on a fill. This can be filtered by the state that the line was in.; Qualify one of the oth… [all …]
|
| /linux/Documentation/RCU/Design/Requirements/ |
| H A D | Requirements.rst | 16 ------------ 18 Read-copy update (RCU) is a synchronization mechanism that is often used 19 as a replacement for reader-writer locking. RCU is unusual in that 20 updaters do not block readers, which means that RCU's read-side 28 thought of as an informal, high-level specification for RCU. It is 40 #. `Fundamental Non-Requirements`_ 42 #. `Quality-of-Implementation Requirements`_ 44 #. `Software-Engineering Requirements`_ 48 This is followed by a summary_, however, the answers to 53 ------------------------ [all …]
|
| /linux/include/linux/ |
| H A D | srcu.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Sleepable Read-Copy Update mechanism for mutual exclusion 11 * For detailed explanation of Read-Copy Update mechanism see - 68 /* Values for SRCU Tree srcu_data ->srcu_reader_flavor, but also used by rcutorture. */ 71 // 0x4 // SRCU-lite is no longer with us. 98 * get_completed_synchronize_srcu - Return a pre-completed polled state cookie 113 // not-yet-completed SRCU grace periods. 117 * same_state_synchronize_srcu - Are two old-state values identical? 118 * @oldstate1: First old-state value. 119 * @oldstate2: Second old-state value. [all …]
|
| H A D | rcupdate.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Read-Copy Update mechanism for mutual exclusion 9 * Based on the original work by Paul McKenney <paulmck@vnet.ibm.com> 15 * For detailed explanation of Read-Copy Update mechanism see - 34 #define ULONG_CMP_GE(a, b) (ULONG_MAX / 2 >= (a) - (b)) 35 #define ULONG_CMP_LT(a, b) (ULONG_MAX / 2 < (a) - (b)) 38 #define RCU_SEQ_STATE_MASK ((1 << RCU_SEQ_CTR_SHIFT) - 1) 50 // not-yet-completed RCU grace periods. 54 * same_state_synchronize_rcu - Are two old-state values identical? 55 * @oldstate1: First old-state value. [all …]
|
| /linux/drivers/block/rnbd/ |
| H A D | README | 6 ------------ 12 on the client side as local block devices. 14 I/O is transferred between client and server by the RTRS transport 19 ------------ 24 ----------- 26 Server side: 29 Client side: 32 /sys/devices/virtual/rnbd-client/ctl/map_device 36 a pair of a source and a destination IPs, separated by comma. Multiple 39 mapped from the server side. After the session to the server machine is [all …]
|
| /linux/Documentation/driver-api/usb/ |
| H A D | gadget.rst | 11 This document presents a Linux-USB "Gadget" kernel mode API, for use 17 - Supports USB 2.0, for high speed devices which can stream data at 20 - Handles devices with dozens of endpoints just as well as ones with 21 just two fixed-function ones. Gadget drivers can be written so 24 - Flexible enough to expose more complex USB device capabilities such 28 - USB "On-The-Go" (OTG) support, in conjunction with updates to the 29 Linux-USB host side. 31 - Sharing data structures and API models with the Linux-USB host side 32 API. This helps the OTG support, and looks forward to more-symmetric 33 frameworks (where the same I/O model is used by both host and device [all …]
|
| /linux/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
| H A D | venc_vp8_if.c | 1 // SPDX-License-Identifier: GPL-2.0 27 * enum venc_vp8_vpu_work_buf - vp8 encoder buffer index 47 * struct venc_vp8_vpu_config - Structure for vp8 encoder configuration 48 * AP-W/R : AP is writer/reader on this item 49 * VPU-W/R: VPU is write/reader on this item 62 * support three temporal layers - 0: 7.5fps 1: 7.5fps 2: 15fps. 77 * struct venc_vp8_vpu_buf - Structure for buffer information 78 * AP-W/R : AP is writer/reader on this item 79 * VPU-W/R: VPU is write/reader on this item 81 * @vpua: VPU side memory addr which is used by RC_CODE [all …]
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | README | 11 possibility to either write data from an sg list to the remote side 12 or to request ("read") data transfer from the remote side into a given 15 RTRS provides I/O fail-over and load-balancing capabilities by using 17 Documentation/ABI/testing/sysfs-class-rtrs-client). 19 RTRS is used by the RNBD (RDMA Network Block Device) modules. 26 -------- 29 server side for a given client for rdma transfer. A session 36 chunks reserved for him on the server side. Their number, size and addresses 49 discussed in LPC RDMA MC 2019. When always_invalidate=Y, on the server side we 64 ------------------------ [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | cgroup_tcp_skb.c | 1 // SPDX-License-Identifier: GPL-2.0 29 if (skb->protocol != bpf_htons(ETH_P_IPV6)) in needed_tcp_pkt() 40 if (tcph->source != bpf_htons(g_sock_port) && in needed_tcp_pkt() 41 tcph->dest != bpf_htons(g_sock_port)) in needed_tcp_pkt() 51 if (tcph->fin || !tcph->syn || !tcph->ack) in egress_accept() 65 if (!tcph->syn || tcph->fin || tcph->ack) in ingress_accept() 71 if (tcph->fin || tcph->syn || !tcph->ack) in ingress_accept() 87 if (!tcph->syn || tcph->fin || tcph->ack) in egress_connect() 100 if (tcph->fin || !tcph->syn || !tcph->ack) in ingress_connect() 110 /* The connection is closed by the peer outside the cgroup. */ [all …]
|
| /linux/tools/perf/pmu-events/arch/powerpc/power9/ |
| H A D | translation.json | 20 "BriefDescription": "Double-Precion or Quad-Precision instruction completed" 25 …m another chip's memory on the same Node or Group (Distant) due to a data side request. When using… 35 …chip's L2 or L3 on the same Node or Group (Remote), as this chip due to a instruction side request" 60 … or L3 on a different Node or Group (Distant), as this chip due to a data side request. When using… 75 …ared or modified data from another core's L2/L3 on the same chip due to a instruction side request" 100 …e TLB from another chip's L4 on the same Node or Group ( Remote) due to a instruction side request" 115 …tions in 32 and 64 bit binary floating point format. Not qualified multicycle. Qualified by vector" 130 "BriefDescription": "Demand LD - L2 Miss (not L2 hit)" 140 …"BriefDescription": "The number a times the core transitioned from a stall to ICT-empty for this t… 145 …from a memory location including L4 from local remote or distant due to a instruction side request" [all …]
|
| H A D | pipeline.json | 10 "BriefDescription": "Number of I-ERAT reloads" 25 …-cycle instruction issued to the Decimal Floating Point execution pipe and waiting to finish. Incl… 35 …her chip's L4 on a different Node or Group (Distant) due to a marked data side request. When using… 40 …s loaded into the TLB from local core's L2 without conflict due to a data side request. When using… 80 …ied (M) data from another core's L2 on the same chip due to a marked data side request. When using… 95 …h Modified (M) data from another core's L2 on the same chip due to a data side request. When using… 115 …e's L3 without dispatch conflicts hit on Mepf state. due to a marked data side request. When using… 135 …"BriefDescription": "Completion stall by Dcache miss which resolved on chip ( excluding local L2/L… 160 …core's L2/L3 on a different chip (remote or distant) due to a marked data side request. When using… 175 …ed into the TLB from local core's L3 with dispatch conflict due to a data side request. When using… [all …]
|
| H A D | marked.json | 20 …ith Shared (S) data from another core's L3 on the same chip due to a data side request. When using… 30 …"BriefDescription": "Completion stall by Dcache miss which resolved from remote chip (cache or mem… 60 …s loaded into the TLB from the local chip's L4 cache due to a marked data side request.. When usin… 70 …(S) data from another core's ECO L3 on the same chip due to a marked data side request. When using… 90 … the NTC instruction is not allowed to complete because it was interrupted by ANY exception, which… 95 …(M) data from another core's ECO L3 on the same chip due to a marked data side request. When using… 100 …Shared (S) data from another core's ECO L3 on the same chip due to a data side request. When using… 135 …a few 128 bit fixpoint add/subtract instructions with carry. Not qualified by vector or multicycle" 140 …aded into the TLB from a location other than the local core's L2 due to a instruction side request" 170 …om local core's L2 hit without dispatch conflicts on Mepf state. due to a instruction side request" [all …]
|
| H A D | other.json | 50 …dified (M) data from another core's ECO L3 on the same chip due to a data side request. When using… 65 "BriefDescription": "Read-write data cache collisions" 90 "BriefDescription": "D-cache invalidates sent over the reload bus to the core" 200 "BriefDescription": "Read-write data cache collisions" 210 …"BriefDescription": "Prefetch stream allocated in the conservative phase by either the hardware pr… 275 "BriefDescription": "Prefetch stream allocated by the hardware prefetch mechanism" 280 …-word boundary, which causes it to require an additional slice than than what normally would be re… 300 "BriefDescription": "I-cache Invalidates sent over the realod bus to the core" 395 …-word boundary, which causes it to require an additional slice than than what normally would be re… 410 …"BriefDescription": "It is most often caused by certain types of flush where the pointer is not av… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
| H A D | uncore-interconnect.json | 49 …: "Coherent Ops : CLFlush : Counts the number of coherency related operations serviced by the IRP", 54 …"BriefDescription": "PCIITOM request issued by the IRP unit to the mesh with the intention of writ… 59 …"PublicDescription": "PCIITOM request issued by the IRP unit to the mesh with the intention of wri… 64 …"BriefDescription": "RFO request issued by the IRP unit to the mesh with the intention of writing … 70 …"PublicDescription": "RFO request issued by the IRP unit to the mesh with the intention of writing… 80 …": "Coherent Ops : WbMtoI : Counts the number of coherency related operations serviced by the IRP", 93 … "BriefDescription": "Inbound read requests received by the IRP and inserted into the FAF queue.", 98 …"PublicDescription": "Inbound read requests to coherent memory, received by the IRP and inserted i… 111 "BriefDescription": "FAF allocation -- sent to ADQ", 148 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", [all …]
|
| /linux/Documentation/networking/ |
| H A D | snmp_counter.rst | 10 these counters won't be changed by layer 2 packets (such as STP) or 17 .. _RFC1213 ipInReceives: https://tools.ietf.org/html/rfc1213#page-26 19 The number of packets received by the IP layer. It gets increasing at the 30 .. _RFC1213 ipInDelivers: https://tools.ietf.org/html/rfc1213#page-28 41 .. _RFC1213 ipOutRequests: https://tools.ietf.org/html/rfc1213#page-28 60 .. _Explicit Congestion Notification: https://tools.ietf.org/html/rfc3168#page-6 73 .. _RFC1213 ipInHdrErrors: https://tools.ietf.org/html/rfc1213#page-27 81 .. _RFC1213 ipInAddrErrors: https://tools.ietf.org/html/rfc1213#page-27 94 layer 4 protocol is unsupported by kernel. If an application is using 98 .. _RFC1213 ipInUnknownProtos: https://tools.ietf.org/html/rfc1213#page-27 [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/jaketown/ |
| H A D | uncore-cache.json | 15 …ted information by filtering the Cb0 occupancy count captured in Counter 0. The filtering availa… 31 … LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numer… 41 … LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numer… 51 … LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numer… 61 … LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numer… 71 … the number of lines that were victimized on a fill. This can be filtered by the state that the l… 81 … the number of lines that were victimized on a fill. This can be filtered by the state that the l… 91 … the number of lines that were victimized on a fill. This can be filtered by the state that the l… 101 … the number of lines that were victimized on a fill. This can be filtered by the state that the l… 111 … the number of lines that were victimized on a fill. This can be filtered by the state that the l… [all …]
|
| /linux/include/sound/ |
| H A D | opl3.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Definitions of the OPL-3 registers. 8 * Copyright (c) by Jaroslav Kysela <perex@perex.cz>, 9 * Hannu Savolainen 1993-1996 11 * The OPL-3 mode is switched on by writing 0x01, to the offset 5 12 * of the right side. 14 * Another special register at the right side is at offset 4. It contains 17 * The percussive mode is implemented in the left side only. 21 * A 4 OP voice can be created by setting the corresponding 22 * bit at offset 4 of the right side. [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | u_ether.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * u_ether.h -- interface to USB gadget "ethernet link" utilities 5 * Copyright (C) 2003-2005,2008 David Brownell 6 * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger 23 * changed by "ifconfig usb0 hw ether xx:xx:xx:xx:xx:xx" 42 * This represents the USB side of an "ethernet" link, managed by a USB 55 /* updated by gether_{connect,disconnect} */ 95 /* netdev setup/teardown as directed by the gadget driver */ 96 /* gether_setup - initialize one ethernet-over-usb link 99 * host side of the link is recorded [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | io-mapping.rst | 8 The io_mapping functions in linux/io-mapping.h provide an abstraction for 10 usage is to support the large graphics aperture on 32-bit processors where 43 This _wc variant returns a write-combining map to the page and may only be 44 used with mappings created by io_mapping_create_wc() 49 io_mapping_map_local_wc() has a side effect on X86 32bit as it disables 50 migration to make the mapping code work. No caller can rely on this side 53 io_mapping_map_atomic_wc() has the side effect of disabling preemption and 70 'vaddr' must be the value returned by the last io_mapping_map_local_wc() or 72 undoes the side effects of the mapping functions. 80 This works like io_mapping_map_atomic/local_wc() except it has no side
|