| /linux/net/netfilter/ |
| H A D | xt_limit.c | 34 `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 D | xt_hashlimit.c | 102 u_int64_t cost; member 445 `credit_cap'. The `peak rate' becomes the cost of passing the 446 test, `cost'. 450 discarded. Every time the match passes, you lose `cost' credits; 598 dh->rateinfo.cost = user2credits_byte(hinfo->cfg.avg); in rateinfo_init() 603 dh->rateinfo.cost = user2credits(hinfo->cfg.avg, revision); in rateinfo_init() 716 tmp = tmp * dh->rateinfo.cost; in hashlimit_byte_cost() 737 u64 cost; in hashlimit_mt_common() local 764 cost = (cfg->mode & XT_HASHLIMIT_BYTES) ? skb->len : 1; in hashlimit_mt_common() 765 dh->rateinfo.current_rate += cost; in hashlimit_mt_common() [all …]
|
| /linux/kernel/power/ |
| H A D | energy_model.c | 76 DEFINE_EM_DBG_SHOW(cost, cost); 105 debugfs_create_file("cost", 0444, d, &em_dbg[i], in em_debug_create_ps() 264 /* Compute the cost of each performance state. */ in em_compute_costs() 266 unsigned long power_res, cost; in em_compute_costs() local 269 ret = cb->get_cost(dev, table[i].frequency, &cost); in em_compute_costs() 270 if (ret || !cost || cost > EM_MAX_POWER) { in em_compute_costs() 271 dev_err(dev, "EM: invalid cost %lu %d\n", in em_compute_costs() 272 cost, ret); in em_compute_costs() 276 /* increase resolution of 'cost' precision */ in em_compute_costs() 278 cost = power_res / table[i].performance; in em_compute_costs() [all …]
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_compress_sequences.c | 68 * Returns the cost in bytes of encoding the normalized count header. 82 * Returns the cost in bits of encoding the distribution described by count 87 unsigned cost = 0; in ZSTD_entropyCost() local 96 cost += count[s] * kInverseProbabilityLog256[norm]; in ZSTD_entropyCost() 98 return cost >> 8; in ZSTD_entropyCost() 102 * Returns the cost in bits of encoding the distribution in count using ctable. 111 size_t cost = 0; in ZSTD_fseBitCost() local 130 cost += (size_t)count[s] * bitCost; in ZSTD_fseBitCost() 132 return cost >> kAccuracyLog; in ZSTD_fseBitCost() 136 * Returns the cost in bits of encoding the distribution in count using the [all …]
|
| /linux/net/bridge/netfilter/ |
| H A D | ebt_limit.c | 46 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/fs/cramfs/ |
| H A D | README | 147 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/netlink/specs/ |
| H A D | dev-energymodel.yaml | 25 equal power cost. 110 name: cost 113 The cost coefficient associated with this level, used during energy
|
| /linux/drivers/iio/health/ |
| H A D | Kconfig | 19 heart rate monitor and low-cost pulse oximeter. 32 heart rate monitor and low-cost pulse oximeter.
|
| /linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
| H A D | pipeline.json | 119 …ructions retired. This precise event may be used to get the misprediction cost via the Retire_Late… 123 …ructions retired. This precise event may be used to get the misprediction cost via the Retire_Late… 137 …ructions retired. This precise event may be used to get the misprediction cost via the Retire_Late… 141 …ructions retired. This precise event may be used to get the misprediction cost via the Retire_Late… 155 …ructions retired. This precise event may be used to get the misprediction cost via the Retire_Late… 159 …ructions retired. This precise event may be used to get the misprediction cost via the Retire_Late… 176 …ructions retired. This precise event may be used to get the misprediction cost via the Retire_Late… 180 …ructions retired. This precise event may be used to get the misprediction cost via the Retire_Late… 206 …ect CALL retired. This precise event may be used to get the misprediction cost via the Retire_Late… 210 …ect CALL retired. This precise event may be used to get the misprediction cost via the Retire_Late… [all …]
|
| /linux/Documentation/arch/x86/ |
| H A D | pti.rst | 66 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.
|
| H A D | tlb.rst | 13 destroyed and must be refilled later, at some cost. 15 time. This could potentially cost many more instructions, but
|
| /linux/tools/perf/pmu-events/arch/x86/rocketlake/ |
| H A D | rkl-metrics.json | 135 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo… 143 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset … 148 …"PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset… 151 … "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation", 157 …"PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Cov… 160 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottleneck… 166 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenec… 169 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks", 175 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks… 178 …"BriefDescription": "Total pipeline cost of instruction fetch bandwidth related bottlenecks (when … [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/icelake/ |
| H A D | icl-metrics.json | 135 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo… 143 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset … 148 …"PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset… 151 … "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation", 157 …"PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Cov… 160 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottleneck… 166 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenec… 169 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks", 175 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks… 178 …"BriefDescription": "Total pipeline cost of instruction fetch bandwidth related bottlenecks (when … [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/skylake/ |
| H A D | skl-metrics.json | 120 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo… 128 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset … 133 …"PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset… 136 … "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation", 142 …"PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Cov… 145 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottleneck… 151 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenec… 154 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks", 160 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks… 163 …"BriefDescription": "Total pipeline cost of instruction fetch bandwidth related bottlenecks (when … [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/tigerlake/ |
| H A D | tgl-metrics.json | 135 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo… 143 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset … 148 …"PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset… 151 … "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation", 157 …"PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Cov… 160 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottleneck… 166 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenec… 169 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks", 175 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks… 178 …"BriefDescription": "Total pipeline cost of instruction fetch bandwidth related bottlenecks (when … [all …]
|
| /linux/Documentation/virt/ |
| H A D | guest-halt-polling.rst | 13 cost of handling the IPI) when performing a wakeup. 15 2) The VM-exit cost can be avoided.
|
| /linux/Documentation/mm/ |
| H A D | overcommit-accounting.rst | 57 | 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 D | multigen_lru.rst | 62 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/lib/ |
| H A D | Kconfig.kfence | 14 to have negligible cost to permit enabling it in production 24 enable KASAN due to its cost, consider using KFENCE.
|
| /linux/Documentation/fb/ |
| H A D | deferred_io.rst | 17 - app continues writing to that page with no additional cost. this is 26 writes to occur at minimum cost. Then after some time when hopefully things
|
| /linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
| H A D | clx-metrics.json | 359 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo… 367 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset … 372 …"PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset… 375 … "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation", 381 …"PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Cov… 384 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottleneck… 390 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenec… 393 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks", 399 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks… 402 …"BriefDescription": "Total pipeline cost of instruction fetch bandwidth related bottlenecks (when … [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/skylakex/ |
| H A D | skx-metrics.json | 341 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo… 349 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset … 354 …"PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset… 357 … "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation", 363 …"PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Cov… 366 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottleneck… 372 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenec… 375 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks", 381 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks… 384 …"BriefDescription": "Total pipeline cost of instruction fetch bandwidth related bottlenecks (when … [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/icelakex/ |
| H A D | icx-metrics.json | 411 …"BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code fo… 419 …"BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset … 424 …"PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset… 427 … "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation", 433 …"PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Cov… 436 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottleneck… 442 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenec… 445 …"BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks", 451 …"PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks… 454 …"BriefDescription": "Total pipeline cost of instruction fetch bandwidth related bottlenecks (when … [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/pantherlake/ |
| H A D | pipeline.json | 444 "BriefDescription": "All mispredicted branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.ALL_BRANCHES_COST]", 448 "PublicDescription": "All mispredicted branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.ALL_BRANCHES_COST] Available PDIST counters: 0,1", 516 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_NTAKEN_COST]", 520 "PublicDescription": "Mispredicted non-taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_NTAKEN_COST] Available PDIST counters: 0,1", 567 "BriefDescription": "number of branch instructions retired that were mispredicted and taken backward. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_TAKEN_BWD_COST]", 571 "PublicDescription": "number of branch instructions retired that were mispredicted and taken backward. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_TAKEN_BWD_COST] Available PDIST counters: 0,1", 609 "BriefDescription": "number of branch instructions retired that were mispredicted and taken forward. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_TAKEN_FWD_COST]", 613 "PublicDescription": "number of branch instructions retired that were mispredicted and taken forward. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_TAKEN_FWD_COST] Available PDIST counters: 0,1", 619 "BriefDescription": "Mispredicted taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch. [This event is alias to BR_MISP_RETIRED.COND_TAKEN_COST]", 623 "PublicDescription": "Mispredicted taken conditional branch instructions retired. This precise event may be used to get the misprediction cost vi [all...] |
| /linux/tools/perf/util/ |
| H A D | levenshtein.c | 16 * are kept in memory (if swaps had the same or higher cost as one deletion 29 * All the big loop does is determine the partial minimum-cost paths.
|