Home
last modified time | relevance | path

Searched +full:throttle +full:- +full:period +full:- +full:us (Results 1 – 25 of 33) sorted by relevance

12

/linux/Documentation/devicetree/bindings/thermal/
H A Dnvidia,tegra124-soctherm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/nvidia,tegra124-soctherm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Jon Hunter <jonathanh@nvidia.com>
14 polled or interrupt-based thermal monitoring, CPU and GPU throttling based
21 - nvidia,tegra124-soctherm
22 - nvidia,tegra132-soctherm
23 - nvidia,tegra210-soctherm
[all …]
/linux/kernel/sched/
H A Ddeadline.c1 // SPDX-License-Identifier: GPL-2.0
22 * Default limits for DL period; on the top end we guard against small util
27 static unsigned int sysctl_sched_dl_period_min = 100; /* 100 us */
58 return dl_se->dl_server; in dl_server()
74 struct rq *rq = dl_se->rq; in rq_of_dl_se()
84 return &rq_of_dl_se(dl_se)->dl; in dl_rq_of_se()
89 return !RB_EMPTY_NODE(&dl_se->rb_node); in on_dl_rq()
95 return dl_se->pi_se; in pi_of()
119 return &cpu_rq(i)->rd->dl_bw; in dl_bw_of()
124 struct root_domain *rd = cpu_rq(i)->rd; in dl_bw_cpus()
[all …]
H A Dfair.c1 // SPDX-License-Identifier: GPL-2.0
44 #include <linux/memory-tiers.h>
62 * The initial- and re-scaling of tunables is configurable
66 * SCHED_TUNABLESCALING_NONE - unscaled, always *1
67 * SCHED_TUNABLESCALING_LOG - scaled logarithmically, *1+ilog(ncpus)
68 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus
75 * Minimal preemption granularity for CPU-bound tasks:
97 return -cpu; in arch_asym_cpu_priority()
118 * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) pool
169 lw->weight += inc; in update_load_add()
[all …]
/linux/drivers/scsi/aic7xxx/
H A Daic79xx_osm.c6 * --------------------------------------------------------------------------
7 * Copyright (c) 1994-2000 Justin T. Gibbs.
8 * Copyright (c) 1997-1999 Doug Ledford
9 * Copyright (c) 2000-2003 Adaptec Inc.
23 * 3. Neither the names of the above-listed copyright holders nor the names
76 * To change the default number of tagged transactions allowed per-device,
83 * Twin adapters will use indexes 0-7 for channel 0, and indexes 8-15
96 * The driver will throttle the number of commands dispatched to a
102 * depths. The driver will throttle back when the queue fulls occur and
110 * (0, 2-11, 13-15), disables tagged queueing for ID 12, and tells the
[all …]
H A Daic7xxx_osm.c26 * config file (!adp7771.cfg), the Adaptec AHA-2740A Series User's Guide,
29 * (adp7770.ovl), the Adaptec AHA-2740 Series Technical Reference Manual,
30 * the Adaptec AIC-7770 Data Book, the ANSI SCSI specification, the
31 * ANSI SCSI-2 specification (draft 10c), ...
33 * --------------------------------------------------------------------------
41 * --------------------------------------------------------------------------
42 * Copyright (c) 1994-2000 Justin T. Gibbs.
43 * Copyright (c) 2000-2001 Adaptec Inc.
57 * 3. Neither the names of the above-listed copyright holders nor the names
78 *---------------------------------------------------------------------------
[all …]
/linux/mm/
H A Dpage-writeback.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * mm/page-writeback.c
26 #include <linux/backing-dev.h>
54 #define DIRTY_POLL_THRESH (128 >> (PAGE_SHIFT - 10))
100 * The interval between `kupdate'-style writebacks
119 /* End of sysctl-exported parameters */
137 unsigned long wb_dirty; /* per-wb counterparts */
147 * Length of period for aging writeout fractions of bdis. This is an
148 * arbitrarily chosen number. The longer the period, the slower fractions will
157 .wb_completions = &(__wb)->completions
[all …]
H A Dvmscan.c1 // SPDX-License-Identifier: GPL-2.0
31 #include <linux/backing-dev.h>
45 #include <linux/memory-tiers.h>
189 if ((_folio)->lru.prev != _base) { \
192 prev = lru_to_folio(&(_folio->lru)); \
193 prefetchw(&prev->_field); \
210 return sc->target_mem_cgroup; in cgroup_reclaim()
219 return !sc->target_mem_cgroup || mem_cgroup_is_root(sc->target_mem_cgroup); in root_reclaim()
223 * writeback_throttling_sane - is the usual dirty throttling mechanism available?
248 if (sc->proactive && sc->proactive_swappiness) in sc_swappiness()
[all …]
/linux/tools/include/uapi/linux/
H A Dpkt_sched.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
12 with obsolete IPv6 values is not occasional :-). New IPv6 drafts
37 __u32 overlimits; /* Number of throttle events when this
51 ---------
119 #define TCA_STAB_MAX (__TCA_STAB_MAX - 1)
130 * Priorities go from zero to (SKBPRIO_MAX_PRIORITY - 1).
149 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */
173 * command is received (just act as a pass-thru queue).
203 #define TCA_TBF_MAX (__TCA_TBF_MAX - 1)
214 int perturb_period; /* Period of hash perturbation */
[all …]
/linux/Documentation/admin-guide/thermal/
H A Dintel_powerclamp.rst6 - Arjan van de Ven <arjan@linux.intel.com>
7 - Jacob Pan <jacob.jun.pan@linux.intel.com>
12 - Goals and Objectives
15 - Idle Injection
16 - Calibration
19 - Effectiveness and Limitations
20 - Power vs Performance
21 - Scalability
22 - Calibration
23 - Comparison with Alternative Techniques
[all …]
/linux/Documentation/RCU/
H A DRTFP.txt4 This document describes RCU-related publications, and is followed by
19 with short-lived threads, such as the K42 research operating system.
20 However, Linux has long-lived tasks, so more is needed.
23 serialization, which is an RCU-like mechanism that relies on the presence
27 that these overheads were not so expensive in the mid-80s. Nonetheless,
28 passive serialization appears to be the first deferred-destruction
30 has lapsed, so this approach may be used in non-GPL software, if desired.
34 In 1987, Rashid et al. described lazy TLB-flush [RichardRashid87a].
36 this paper helped inspire the update-side batching used in the later
38 a description of Argus that noted that use of out-of-date values can
[all …]
/linux/kernel/events/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
7 * Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
75 struct task_struct *p = tfc->p; in remote_function()
78 /* -EAGAIN */ in remote_function()
87 tfc->ret = -ESRCH; /* No such (running) process */ in remote_function()
92 tfc->ret = tfc->func(tfc->info); in remote_function()
96 * task_function_call - call a function on the cpu on which a task runs
106 * returns @func return value or -ESRCH or -ENXIO when the process isn't running
115 .ret = -EAGAIN, in task_function_call()
[all …]
/linux/drivers/net/usb/
H A Dusbnet.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2000-2005 by David Brownell
5 * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com>
10 * kinds of full and high speed networking devices: host-to-host cables,
34 /*-------------------------------------------------------------------------*/
48 #define RX_QLEN(dev) ((dev)->rx_qlen)
49 #define TX_QLEN(dev) ((dev)->tx_qlen)
54 /* throttle rx/tx briefly after some faults, so hub_wq might disconnect()
55 * us (it polls at HZ/4 usually) before we report too many false errors.
62 /*-------------------------------------------------------------------------*/
[all …]
/linux/kernel/rcu/
H A Dtree_nocb.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Read-Copy Update mechanism for mutual exclusion (tree-based version)
4 * Internal non-public definitions that provide either classic
23 if (!rdp->nocb_cb_kthread || !rdp->nocb_gp_kthread) in rcu_current_is_nocb_kthread()
26 if (current == rdp->nocb_cb_kthread || current == rdp->nocb_gp_kthread) in rcu_current_is_nocb_kthread()
33 * Offload callback processing from the boot-time-specified set of CPUs
36 * a grace period to elapse, and invoke the callbacks. These kthreads
39 * invoke callbacks. Each GP kthread invokes its own CBs. The no-CBs CPUs
46 * adaptive-idle work, which would seriously reduce OS jitter on CPUs
47 * running CPU-bound user-mode computations.
[all …]
/linux/block/
H A Dblk-iocost.c1 /* SPDX-License-Identifier: GPL-2.0
17 * useless for the purpose of IO capacity distribution. While on-device
19 * non-queued rotational devices, this is no longer viable with modern
27 * implement a reasonable work-conserving proportional IO resource
37 * Currently, there's only one builtin cost model - linear. Each IO is
47 * device-specific coefficients.
54 * 2-1. Vtime Distribution
75 * against the device vtime - an IO which takes 10ms on the underlying
84 * 2-2. Vrate Adjustment
97 * To slow down, we lower the vrate - the rate at which the device vtime
[all …]
/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.c1 // SPDX-License-Identifier: GPL-2.0+
2 /* Faraday FOTG210 EHCI-like driver
6 * Author: Yuan-Hsin Chen <yhchen@faraday-tech.com>
7 * Feng-Hsin Chiang <john453@faraday-tech.com>
8 * Po-Yu Chuang <ratbert.chuang@gmail.com>
10 * Most of code borrowed from the Linux-3.7 EHCI driver
29 #include <linux/dma-mapping.h>
49 #define FOTG210_TUNE_CERR 3 /* 0-3 qtd retries; 0 == don't stop */
50 #define FOTG210_TUNE_RL_HS 4 /* nak throttle; see 4.9 */
52 #define FOTG210_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */
[all …]
/linux/fs/xfs/
H A Dxfs_icache.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
97 ip = alloc_inode_sb(mp->m_super, xfs_inode_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_inode_alloc()
99 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc()
105 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc()
106 mapping_set_folio_min_order(VFS_I(ip)->i_mapping, in xfs_inode_alloc()
107 M_IGEO(mp)->min_folio_order); in xfs_inode_alloc()
110 ASSERT(atomic_read(&ip->i_pincount) == 0); in xfs_inode_alloc()
111 ASSERT(ip->i_ino == 0); in xfs_inode_alloc()
114 ip->i_ino = ino; in xfs_inode_alloc()
[all …]
H A Dxfs_log.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
105 ASSERT(vec - lv->lv_iovecp < lv->lv_niovecs); in xlog_prepare_iovec()
108 vec = &lv->lv_iovecp[0]; in xlog_prepare_iovec()
111 len = lv->lv_buf_len + sizeof(struct xlog_op_header); in xlog_prepare_iovec()
113 lv->lv_buf_len = round_up(len, sizeof(uint64_t)) - in xlog_prepare_iovec()
117 vec->i_type = type; in xlog_prepare_iovec()
118 vec->i_addr = lv->lv_buf + lv->lv_buf_len; in xlog_prepare_iovec()
120 oph = vec->i_addr; in xlog_prepare_iovec()
121 oph->oh_clientid = XFS_TRANSACTION; in xlog_prepare_iovec()
[all …]
/linux/include/linux/
H A Dsched.h1 /* SPDX-License-Identifier: GPL-2.0 */
41 #include <linux/posix-timers_types.h>
91 * We have two separate sets of flags: task->__state
92 * is about runnability, while task->exit_state are
98 /* Used in tsk->__state: */
104 /* Used in tsk->exit_state: */
108 /* Used in tsk->__state again: */
121 #define TASK_ANY (TASK_STATE_MAX-1)
144 #define task_is_running(task) (READ_ONCE((task)->__state) == TASK_RUNNING)
146 #define task_is_traced(task) ((READ_ONCE(task->jobctl) & JOBCTL_TRACED) != 0)
[all …]
H A Dblkdev.h1 /* SPDX-License-Identifier: GPL-2.0 */
21 #include <linux/percpu-refcount.h>
224 * disk_openers - returns how many openers are there for a disk
228 * stable if disk->open_mutex is held.
235 return atomic_read(&disk->part0->bd_openers); in disk_openers()
239 * disk_has_partscan - return %true if partition scanning is enabled on a disk
247 return !(disk->flags & (GENHD_FL_NO_PART | GENHD_FL_HIDDEN)) && in disk_has_partscan()
248 !test_bit(GD_SUPPRESS_PART_SCAN, &disk->state); in disk_has_partscan()
256 (dev_to_bdev(device)->bd_disk)
258 (&((disk)->part0->bd_device))
[all …]
/linux/arch/x86/events/intel/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #include <asm/intel-family.h>
41 [PERF_COUNT_HW_REF_CPU_CYCLES] = 0x0300, /* pseudo-encoding */
68 INTEL_EVENT_CONSTRAINT(0xc9, 0x1), /* ITLB_MISS_RETIRED (T30-9) */
351 * Generally event codes < 0x90 are restricted to counters 0-3.
437 EVENT_ATTR_STR(mem-loads, mem_ld_nhm, "event=0x0b,umask=0x10,ldlat=3");
438 EVENT_ATTR_STR(mem-loads, mem_ld_snb, "event=0xcd,umask=0x1,ldlat=3");
439 EVENT_ATTR_STR(mem-stores, mem_st_snb, "event=0xcd,umask=0x2");
460 EVENT_ATTR_STR_HT(topdown-total-slots, td_total_slots,
463 EVENT_ATTR_STR_HT(topdown-total-slots.scale, td_total_slots_scale, "4", "2");
[all …]
/linux/tools/perf/
H A Dbuiltin-inject.c1 // SPDX-License-Identifier: GPL-2.0
3 * builtin-inject.c
20 #include "util/build-id.h"
26 #include "util/synthetic-events.h"
35 #include <subcmd/parse-options.h>
166 size = perf_data__write(&inject->output, buf, sz); in output_bytes()
168 return -errno; in output_bytes()
170 inject->bytes_writte in output_bytes()
[all...]
/linux/drivers/gpu/drm/i915/
H A Di915_perf.c2 * Copyright © 2015-2016 Intel Corporation
44 * without special privileges. Access to system-wide metrics requires root
58 * might sample sets of tightly-coupled counters, depending on the
70 * interleaved with event-type specific members.
76 * would be acceptable to expose them to unprivileged applications - to hide
96 * side-band OA data captured via MI_REPORT_PERF_COUNT commands; we're
102 * For posterity, in case we might re-visit trying to adapt core perf to be
106 * - The perf based OA PMU driver broke some significant design assumptions:
110 * implications, the need to fake cpu-related data (such as user/kernel
112 * as a way to forward device-specifi
[all...]
/linux/drivers/s390/net/
H A Dctcm_mpc.c1 // SPDX-License-Identifier: GPL-2.0
4 * Authors: Belinda Thompson (belindat@us.ibm.com)
5 * Andy Richter (richtera@us.ibm.com)
79 .xid2_buf_len = (MPC_BUFSIZE_DEFAULT - 35),
125 /*-------------------------------------------------------------------*
128 *--------------------------------------------------------------------*/
169 rm--; in ctcmpc_dumpit()
176 ctcm_pr_debug(" --- %s ---\n", in ctcmpc_dumpit()
191 for ( ; rm > 0; rm--, sw++) { in ctcmpc_dumpit()
202 ctcm_pr_debug(" --- %s ---\n", tdup); in ctcmpc_dumpit()
[all …]
/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #include <linux/io-64-nonatomic-lo-hi.h>
19 /* Max number slots - only 1 is allowed. */
30 /* Device Controller command default timeout value in us */
43 * struct cdnsp_cap_regs - CDNSP Registers.
46 * @hcs_params1: HCSPARAMS1 - Structural Parameters 1
47 * @hcs_params2: HCSPARAMS2 - Structural Parameters 2
48 * @hcs_params3: HCSPARAMS3 - Structural Parameters 3
49 * @hcc_params: HCCPARAMS - Capability Parameters
50 * @db_off: DBOFF - Doorbell array offset
[all …]
/linux/drivers/char/
H A Drandom.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright (C) 2017-2024 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
10 * - Initialization and readiness waiting.
11 * - Fast key erasure RNG, the "crng".
12 * - Entropy accumulation and extraction routines.
13 * - Entrop
[all...]

12