| /kernel/linux/linux-6.6/Documentation/core-api/ |
| D | this_cpu_ops.rst | 8 this_cpu operations are a way of optimizing access to per cpu 11 the cpu permanently stored the beginning of the per cpu area for a 14 this_cpu operations add a per cpu variable offset to the processor 15 specific per cpu base and encode that operation in the instruction 16 operating on the per cpu variable. 24 Read-modify-write operations are of particular interest. Frequently 32 synchronization is not necessary since we are dealing with per cpu 37 Please note that accesses by remote processors to a per cpu area are 65 ------------------------------------ 68 per cpu area. It is then possible to simply use the segment override [all …]
|
| /kernel/linux/linux-5.10/Documentation/core-api/ |
| D | this_cpu_ops.rst | 8 this_cpu operations are a way of optimizing access to per cpu 11 the cpu permanently stored the beginning of the per cpu area for a 14 this_cpu operations add a per cpu variable offset to the processor 15 specific per cpu base and encode that operation in the instruction 16 operating on the per cpu variable. 24 Read-modify-write operations are of particular interest. Frequently 32 synchronization is not necessary since we are dealing with per cpu 37 Please note that accesses by remote processors to a per cpu area are 66 ------------------------------------ 69 per cpu area. It is then possible to simply use the segment override [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/broadwellde/ |
| D | bdwde-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/broadwell/ |
| D | bdw-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/skylake/ |
| D | skl-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
| /kernel/linux/linux-5.10/arch/ia64/mm/ |
| D | discontig.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (c) 2002 Kimio Suganuma <k-suganuma@da.jp.nec.com> 33 * Track per-node information needed to setup the boot memory allocator, the 34 * per-node areas, and the real VM. 50 * To prevent cache aliasing effects, align per-node structures so that they 55 ((((addr) + 1024*1024-1) & ~(1024*1024-1)) + \ 56 (((node)*PERCPU_PAGE_SIZE) & (MAX_NODE_ALIGN_OFFSET - 1))) 59 * build_node_maps - callback to setup mem_data structs for each node 67 * if necessary. Any non-existent pages will simply be part of the virtual 90 * early_nr_cpus_node - return number of cpus on a given node [all …]
|
| /kernel/linux/linux-6.6/arch/ia64/mm/ |
| D | discontig.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (c) 2002 Kimio Suganuma <k-suganuma@da.jp.nec.com> 34 * Track per-node information needed to setup the boot memory allocator, the 35 * per-node areas, and the real VM. 51 * To prevent cache aliasing effects, align per-node structures so that they 56 ((((addr) + 1024*1024-1) & ~(1024*1024-1)) + \ 57 (((node)*PERCPU_PAGE_SIZE) & (MAX_NODE_ALIGN_OFFSET - 1))) 60 * build_node_maps - callback to setup mem_data structs for each node 68 * if necessary. Any non-existent pages will simply be part of the virtual 91 * early_nr_cpus_node - return number of cpus on a given node [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/rocketlake/ |
| D | rkl-metrics.json | 3 "BriefDescription": "C10 residency percent per package", 4 "MetricExpr": "cstate_pkg@c10\\-residency@ / TSC", 10 "BriefDescription": "C2 residency percent per package", 11 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/tigerlake/ |
| D | tgl-metrics.json | 3 "BriefDescription": "C10 residency percent per package", 4 "MetricExpr": "cstate_pkg@c10\\-residency@ / TSC", 10 "BriefDescription": "C2 residency percent per package", 11 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/icelake/ |
| D | icl-metrics.json | 3 "BriefDescription": "C10 residency percent per package", 4 "MetricExpr": "cstate_pkg@c10\\-residency@ / TSC", 10 "BriefDescription": "C2 residency percent per package", 11 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
| /kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/ |
| D | x86_energy_perf_policy.8 | 1 .\" This page Copyright (C) 2010 - 2015 Len Brown <len.brown@intel.com> 5 x86_energy_perf_policy \- Manage Energy vs. Performance Policy via x86 Model Specific Registers 10 .RB "scope: \-\-cpu\ cpu-list | \-\-pkg\ pkg-list" 12 .RB "cpu-list, pkg-list: # | #,# | #-# | all" 14 .RB "field: \-\-all | \-\-epb | \-\-hwp-epp | \-\-hwp-min | \-\-hwp-max | \-\-hwp-desired" 16 .RB "other: (\-\-force | \-\-hwp-enable | \-\-turbo-enable) value)" 18 .RB "value: # | default | performance | balance-performance | balance-power | power" 21 displays and updates energy-performance policy settings specific to 23 updates, no matter if the Linux cpufreq sub-system is enabled or not. 27 such as how aggressively the hardware enters and exits CPU idle states (C-states) [all …]
|
| /kernel/linux/linux-6.6/tools/power/x86/x86_energy_perf_policy/ |
| D | x86_energy_perf_policy.8 | 1 .\" This page Copyright (C) 2010 - 2015 Len Brown <len.brown@intel.com> 5 x86_energy_perf_policy \- Manage Energy vs. Performance Policy via x86 Model Specific Registers 10 .RB "scope: \-\-cpu\ cpu-list | \-\-pkg\ pkg-list" 12 .RB "cpu-list, pkg-list: # | #,# | #-# | all" 14 .RB "field: \-\-all | \-\-epb | \-\-hwp-epp | \-\-hwp-min | \-\-hwp-max | \-\-hwp-desired" 16 .RB "other: (\-\-force | \-\-hwp-enable | \-\-turbo-enable) value)" 18 .RB "value: # | default | performance | balance-performance | balance-power | power" 21 displays and updates energy-performance policy settings specific to 23 updates, no matter if the Linux cpufreq sub-system is enabled or not. 27 such as how aggressively the hardware enters and exits CPU idle states (C-states) [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/haswell/ |
| D | hsw-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
| /kernel/linux/linux-6.6/Documentation/virt/ |
| D | guest-halt-polling.rst | 15 2) The VM-exit cost can be avoided. 25 ("per-cpu guest_halt_poll_ns"), which is adjusted by the algorithm 42 Division factor used to shrink per-cpu guest_halt_poll_ns when 49 Multiplication factor used to grow per-cpu guest_halt_poll_ns 50 when event occurs after per-cpu guest_halt_poll_ns 57 The per-cpu guest_halt_poll_ns eventually reaches zero 59 per-cpu guest_halt_poll_ns when growing. This can 70 to avoid it (per-cpu guest_halt_poll_ns will remain 82 - Care should be taken when setting the guest_halt_poll_ns parameter as a 83 large value has the potential to drive the cpu usage to 100% on a machine
|
| /kernel/linux/linux-5.10/Documentation/virt/ |
| D | guest-halt-polling.rst | 15 2) The VM-exit cost can be avoided. 25 ("per-cpu guest_halt_poll_ns"), which is adjusted by the algorithm 42 Division factor used to shrink per-cpu guest_halt_poll_ns when 49 Multiplication factor used to grow per-cpu guest_halt_poll_ns 50 when event occurs after per-cpu guest_halt_poll_ns 57 The per-cpu guest_halt_poll_ns eventually reaches zero 59 per-cpu guest_halt_poll_ns when growing. This can 70 to avoid it (per-cpu guest_halt_poll_ns will remain 82 - Care should be taken when setting the guest_halt_poll_ns parameter as a 83 large value has the potential to drive the cpu usage to 100% on a machine
|
| /kernel/linux/linux-5.10/Documentation/trace/ |
| D | events-kmem.rst | 8 - Slab allocation of small objects of unknown type (kmalloc) 9 - Slab allocation of small objects of known type 10 - Page allocation 11 - Per-CPU Allocator Activity 12 - External Fragmentation 40 These events are similar in usage to the kmalloc-related events except that 50 mm_page_alloc_zone_locked page=%p pfn=%lu order=%u migratetype=%d cpu=%d percpu_refill=%d 56 the per-CPU allocator (high performance) or the buddy allocator. 60 amounts of activity imply high activity on the zone->lock. Taking this lock 72 contention on the zone->lru_lock. [all …]
|
| /kernel/linux/linux-6.6/Documentation/trace/ |
| D | events-kmem.rst | 8 - Slab allocation of small objects of unknown type (kmalloc) 9 - Slab allocation of small objects of known type 10 - Page allocation 11 - Per-CPU Allocator Activity 12 - External Fragmentation 40 These events are similar in usage to the kmalloc-related events except that 50 mm_page_alloc_zone_locked page=%p pfn=%lu order=%u migratetype=%d cpu=%d percpu_refill=%d 56 the per-CPU allocator (high performance) or the buddy allocator. 60 amounts of activity imply high activity on the zone->lock. Taking this lock 72 contention on the lruvec->lru_lock. [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/ivytown/ |
| D | ivt-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/ivybridge/ |
| D | ivb-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/broadwellx/ |
| D | bdx-metrics.json | 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", [all …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/broadwell/ |
| D | bdw-metrics.json | 7 …-lines are fetched from the memory subsystem; parsed into instructions; and lastly decoded into mi… 10 …nd undersupplies its Backend. SMT version; use when SMT is enabled and measuring per logical CPU.", 14 …-lines are fetched from the memory subsystem; parsed into instructions; and lastly decoded into mi… 18 …"MetricExpr": "( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * INT_MISC.RECOVERY_CYCLES ) / (4… 21 …s for which the issue-pipeline was blocked due to recovery from earlier incorrect speculation. For… 24 …ue to incorrect speculations. SMT version; use when SMT is enabled and measuring per logical CPU.", 25 …"MetricExpr": "( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * (( INT_MISC.RECOVERY_CYCLES_ANY… 28 …-pipeline was blocked due to recovery from earlier incorrect speculation. For example; wasted work… 32 …"MetricExpr": "1 - ( (IDQ_UOPS_NOT_DELIVERED.CORE / (4 * cycles)) + (( UOPS_ISSUED.ANY - UOPS_RETI… 35 …-of-order scheduler dispatches ready uops into their respective execution units; and once complete… [all …]
|
| /kernel/linux/linux-6.6/tools/perf/tests/shell/lib/ |
| D | stat_output.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 [ "$(id -u)" != 0 ] && [ "$(cat /proc/sys/kernel/perf_event_paranoid)" -gt $1 ] 13 echo -n "Checking $1 output: no args " 15 commachecker --no-args 21 echo -n "Checking $1 output: system wide " 27 perf stat -a $2 true 28 commachecker --system-wide 34 echo -n "Checking $1 output: system wide no aggregation " 40 perf stat -A -a --no-merge $2 true 41 commachecker --system-wide-no-aggr [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
| D | spr-metrics.json | 3 "BriefDescription": "C1 residency percent per core", 4 "MetricExpr": "cstate_core@c1\\-residency@ / TSC", 10 "BriefDescription": "C2 residency percent per package", 11 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 17 "BriefDescription": "C6 residency percent per core", 18 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 24 "BriefDescription": "C6 residency percent per package", 25 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", 31 "BriefDescription": "Uncore frequency per die [GHZ]", 37 …"BriefDescription": "Cycles per instruction retired; indicating how much time each executed instru… [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | local_lock.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * local_lock_init - Runtime initialize a lock instance 13 * local_lock - Acquire a per CPU local lock 19 * local_lock_irq - Acquire a per CPU local lock and disable interrupts 25 * local_lock_irqsave - Acquire a per CPU local lock, save and disable 34 * local_unlock - Release a per CPU local lock 40 * local_unlock_irq - Release a per CPU local lock and enable interrupts 46 * local_unlock_irqrestore - Release a per CPU local lock and restore
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | local_lock.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * local_lock_init - Runtime initialize a lock instance 13 * local_lock - Acquire a per CPU local lock 19 * local_lock_irq - Acquire a per CPU local lock and disable interrupts 25 * local_lock_irqsave - Acquire a per CPU local lock, save and disable 34 * local_unlock - Release a per CPU local lock 40 * local_unlock_irq - Release a per CPU local lock and enable interrupts 46 * local_unlock_irqrestore - Release a per CPU local lock and restore
|