Home
last modified time | relevance | path

Searched full:cost (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/linux/net/netfilter/
H A Dxt_limit.c34 `credit_cap'. The `peak rate' becomes the cost of passing the
35 test, `cost'.
39 discarded. Every time the match passes, you lose `cost' credits;
72 if ((READ_ONCE(priv->credit) < r->cost) && (READ_ONCE(priv->prev) == jiffies)) in limit_mt()
83 if (new_credit >= r->cost) { in limit_mt()
85 new_credit -= r->cost; in limit_mt()
128 if (r->cost == 0) { in limit_mt_check()
130 r->cost = user2credits(r->avg); in limit_mt_check()
150 u_int32_t credit_cap, cost; member
166 .cost = cm->cost, in limit_mt_compat_from_user()
[all …]
H A Dnft_limit.c32 static inline bool nft_limit_eval(struct nft_limit_priv *priv, u64 cost) in nft_limit_eval() argument
44 delta = tokens - cost; in nft_limit_eval()
174 u64 cost; member
183 if (nft_limit_eval(&priv->limit, priv->cost)) in nft_limit_pkts_eval()
206 priv->cost = div64_u64(priv->limit.nsecs, priv->limit.rate); in nft_limit_pkts_init()
232 priv_dst->cost = priv_src->cost; in nft_limit_pkts_clone()
254 u64 cost = div64_u64(priv->nsecs * pkt->skb->len, priv->rate); in nft_limit_bytes_eval() local
256 if (nft_limit_eval(priv, cost)) in nft_limit_bytes_eval()
336 if (nft_limit_eval(&priv->limit, priv->cost)) in nft_limit_obj_pkts_eval()
351 priv->cost = div64_u64(priv->limit.nsecs, priv->limit.rate); in nft_limit_obj_pkts_init()
[all …]
/linux/block/
H A Dblk-iocost.c3 * IO cost model based controller.
10 * observable cost metric. This is distinguished from CPU and memory where
22 * While there is no cost metric we can trivially observe, it isn't a
23 * complete mystery. For example, on a rotational device, seek cost
30 * 1. IO Cost Model
32 * IO cost model estimates the cost of an IO given its basic parameters and
33 * history (e.g. the end sector of the last IO). The cost is measured in
34 * device time. If a given IO is estimated to cost 10ms, the device should
37 * Currently, there's only one builtin cost model - linear. Each IO is
38 * classified as sequential or random and given a base cost accordingly.
[all …]
H A DKconfig155 bool "Enable support for cost model based cgroup IO controller"
159 Enabling this option enables the .weight interface for cost
179 is mostly useful for kernel developers, but it doesn't incur any cost
/linux/lib/zstd/compress/
H A Dzstd_compress_sequences.c67 * Returns the cost in bytes of encoding the normalized count header.
81 * Returns the cost in bits of encoding the distribution described by count
86 unsigned cost = 0; in ZSTD_entropyCost() local
95 cost += count[s] * kInverseProbabilityLog256[norm]; in ZSTD_entropyCost()
97 return cost >> 8; in ZSTD_entropyCost()
101 * Returns the cost in bits of encoding the distribution in count using ctable.
110 size_t cost = 0; in ZSTD_fseBitCost() local
129 cost += (size_t)count[s] * bitCost; in ZSTD_fseBitCost()
131 return cost >> kAccuracyLog; in ZSTD_fseBitCost()
135 * Returns the cost in bits of encoding the distribution in count using the
[all …]
/linux/net/bridge/netfilter/
H A Debt_limit.c46 if (info->credit >= info->cost) { in ebt_limit_mt()
48 info->credit -= info->cost; in ebt_limit_mt()
85 info->cost = user2credits(info->avg); in ebt_limit_mt_check()
98 compat_uint_t credit, credit_cap, cost; member
/linux/Documentation/power/
H A Denergy-model.rst20 abstraction layer which standardizes the format of power cost tables in the
67 In case of CPU devices the EM framework manages power cost tables per
156 .get_cost() is optional and provides the 'cost' values used by the EAS.
161 The .get_cost() allows to provide the 'cost' values which reflect the
164 formulas calculating 'cost' values. To register an EM for such platform, the
259 There is dedicated API for device drivers to calculate em_perf_state::cost
265 These 'cost' values from EM are used in EAS. The new EM table should be passed
267 of the cost values is done properly the return value from the function is 0.
314 11 /* Estimate the power cost for the dev at the relevant freq. */
383 28 /* Calculate 'cost' values for EAS */
/linux/fs/cramfs/
H A DREADME147 The cost of swabbing is changing the code to use the le32_to_cpu
166 The cost of option 1 is that kernels with a larger PAGE_SIZE
169 The cost of option 2 relative to option 1 is that the code uses
181 cost is greater complexity. Probably not worth it, but I hope someone
186 Another cost of 2 and 3 over 1 is making mkcramfs use a different
/linux/Documentation/scheduler/
H A Dsched-energy.rst83 Model (EM) framework. The EM of a platform is composed of a power cost table
161 The CPU capacity and power cost associated with each OPP is listed in
262 increase the cost of the tasks already running there. If the waking task is
263 placed on a big CPU, its own execution cost might be higher than if it was
266 consumed by CPUs, the extra cost of running that one task on a big core can be
267 smaller than the cost of raising the OPP on the little CPUs for all the other
271 for all platforms, without knowing the cost of running at different OPPs on all
346 energy. So, your platform must provide power cost tables to the EM framework in
/linux/drivers/iio/health/
H A DKconfig19 heart rate monitor and low-cost pulse oximeter.
32 heart rate monitor and low-cost pulse oximeter.
/linux/tools/perf/pmu-events/arch/x86/tigerlake/
H A Dtgl-metrics.json415 …"BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative b…
420 …"PublicDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative …
472 …"BriefDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch…
477 …"PublicDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetc…
480 …"BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fet…
486 …"PublicDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fe…
489 …"BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bott…
495 …"PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bot…
498 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo…
506 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset …
[all …]
/linux/tools/perf/pmu-events/arch/x86/skylake/
H A Dskl-metrics.json397 …"BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative b…
401 …"PublicDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative …
432 …"BriefDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch…
437 …"PublicDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetc…
440 …"BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fet…
446 …"PublicDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fe…
449 …"BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bott…
454 …"PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bot…
457 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo…
465 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset …
[all …]
/linux/tools/perf/pmu-events/arch/x86/icelake/
H A Dicl-metrics.json415 …"BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative b…
420 …"PublicDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative …
471 …"BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fet…
478 …"BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bott…
493 …"BriefDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch…
498 …"PublicDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetc…
501 …"BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fet…
507 …"PublicDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fe…
510 …"BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bott…
516 …"PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bot…
[all …]
/linux/tools/perf/pmu-events/arch/x86/rocketlake/
H A Drkl-metrics.json415 …"BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative b…
420 …"PublicDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative …
471 …"BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fet…
478 …"BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bott…
493 …"BriefDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch…
498 …"PublicDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetc…
501 …"BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fet…
507 …"PublicDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fe…
510 …"BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bott…
516 …"PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bot…
[all …]
/linux/Documentation/arch/x86/
H A Dpti.rst66 this protection comes at a cost:
77 2. Runtime Cost
85 to work under PTI. This doesn't have a direct runtime cost but it can
100 deferred until the exit to userspace, minimizing the cost.
/linux/Documentation/virt/
H A Dguest-halt-polling.rst13 cost of handling the IPI) when performing a wakeup.
15 2) The VM-exit cost can be avoided.
/linux/Documentation/mm/
H A Dovercommit-accounting.rst57 | SHARED or READ-only - 0 cost (the file is the map not swap)
62 | PRIVATE READ-only - 0 cost (but of little use)
H A Dmultigen_lru.rst62 2. The cost of evicting the former channel is higher due to the TLB
103 ``folio->flags`` and therefore has a negligible cost. A feedback loop
187 can incur the highest CPU cost in the reclaim path.
207 is false positive, the cost is an additional scan of a range of PTEs,
/linux/drivers/cpufreq/
H A Dcppc_cpufreq.c361 /* Increase the cost value by CPPC_EM_COST_STEP every performance state. */
363 /* Add a cost gap correspnding to the energy of 4 CPUs. */
385 * The cost is defined as:
386 * cost = power * max_frequency / frequency
457 * With an artificial EM, only the cost value is used. Still the power in cppc_get_cpu_power()
467 unsigned long *cost) in cppc_get_cpu_cost() argument
488 *cost = compute_cost(cpu_dev->id, step); in cppc_get_cpu_cost()
/linux/tools/perf/pmu-events/arch/x86/skylakex/
H A Dskx-metrics.json627 …"BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative b…
631 …"PublicDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative …
662 …"BriefDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch…
667 …"PublicDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetc…
670 …"BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fet…
676 …"PublicDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fe…
679 …"BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bott…
684 …"PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bot…
687 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo…
695 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset …
[all …]
/linux/tools/perf/pmu-events/arch/x86/icelakex/
H A Dicx-metrics.json643 …"BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative b…
648 …"PublicDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative …
700 …"BriefDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch…
705 …"PublicDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetc…
708 …"BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fet…
714 …"PublicDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fe…
717 …"BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bott…
723 …"PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bot…
726 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo…
734 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset …
[all …]
/linux/tools/perf/pmu-events/arch/x86/cascadelakex/
H A Dclx-metrics.json645 …"BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative b…
649 …"PublicDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative …
680 …"BriefDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch…
685 …"PublicDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetc…
688 …"BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fet…
694 …"PublicDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fe…
697 …"BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bott…
702 …"PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bot…
705 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo…
713 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset …
[all …]
/linux/lib/
H A DKconfig.kfence14 to have negligible cost to permit enabling it in production
24 enable KASAN due to its cost, consider using KFENCE.
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/
H A Dspr-metrics.json716 …"BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative b…
720 …"PublicDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative …
771 …"BriefDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch…
776 …"PublicDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetc…
779 …"BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fet…
784 …"PublicDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fe…
787 …"BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bott…
792 …"PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bot…
795 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo…
802 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset …
[all …]
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/
H A Demr-metrics.json716 …"BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative b…
720 …"PublicDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative …
771 …"BriefDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch…
776 …"PublicDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetc…
779 …"BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fet…
784 …"PublicDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fe…
787 …"BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bott…
792 …"PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bot…
795 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo…
802 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset …
[all …]

12345678910>>...16