| /linux/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
| H A D | start.rst | 51 0 addr 86.182 TiB size 8.000 KiB access 0 % age 14.900 s 52 1 addr 86.182 TiB size 8.000 KiB access 60 % age 0 ns 53 2 addr 86.182 TiB size 3.422 MiB access 0 % age 4.100 s 54 3 addr 86.182 TiB size 2.004 MiB access 95 % age 2.200 s 55 4 addr 86.182 TiB size 29.688 MiB access 0 % age 14.100 s 56 5 addr 86.182 TiB size 29.516 MiB access 0 % age 16.700 s 57 6 addr 86.182 TiB size 29.633 MiB access 0 % age 17.900 s 58 7 addr 86.182 TiB size 117.652 MiB access 0 % age 18.400 s 59 8 addr 126.990 TiB size 62.332 MiB access 0 % age 9.500 s 60 9 addr 126.990 TiB size 13.980 MiB access 0 % age 5.200 s [all …]
|
| H A D | usage.rst | 89 │ │ │ │ │ │ │ │ age/min,max 103 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age,sz_filter_passed 351 在 ``access_pattern`` 目录下,存在三个目录( ``sz``, ``nr_accesses``, 和 ``age`` ), 353 ``age`` 目录下的 ``min`` 和 ``max`` 文件分别写入和读取来设置和获取给定方案的访问模式。 539 信息。这些信息包括该区域的地址范围、``nr_accesses`` 和 ``age``。 557 ``age`` 和 ``sz_filter_passed``)。读取这些文件将显示相应的基于DAMON的操作方案 587 # echo 10 > access_pattern/age/min 588 # echo 20 > access_pattern/age/max 635 的 ``age`` (关于该计数器的更多细节请参考 :ref:`设计 <damon_design_age_tracking_zh_CN>`)。
|
| H A D | stat.rst | 84 (age)就是该区域每个字节的空闲时间。然后,DAMON_STAT 通过这个只读参数
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_gt_buffer_pool.c | 56 unsigned long age; in pool_free_older_than() local 60 age = READ_ONCE(node->age); in pool_free_older_than() 61 if (!age || jiffies - age < keep) in pool_free_older_than() 65 if (!xchg(&node->age, 0)) in pool_free_older_than() 116 GEM_BUG_ON(node->age); in pool_retire() 119 WRITE_ONCE(node->age, jiffies ?: 1); /* 0 reserved for active nodes */ in pool_retire() 152 node->age = 0; in node_create() 185 unsigned long age; in intel_gt_get_buffer_pool() local 193 age = READ_ONCE(node->age); in intel_gt_get_buffer_pool() 194 if (!age) in intel_gt_get_buffer_pool() [all …]
|
| H A D | intel_gt_buffer_pool_types.h | 31 unsigned long age; member
|
| /linux/include/linux/ |
| H A D | unicode.h | 21 static inline u8 unicode_major(unsigned int age) in unicode_major() argument 23 return (age >> UNICODE_MAJ_SHIFT) & 0xff; in unicode_major() 26 static inline u8 unicode_minor(unsigned int age) in unicode_minor() argument 28 return (age >> UNICODE_MIN_SHIFT) & 0xff; in unicode_minor() 31 static inline u8 unicode_rev(unsigned int age) in unicode_rev() argument 33 return age & 0xff; in unicode_rev()
|
| /linux/Documentation/admin-guide/mm/damon/ |
| H A D | start.rst | 48 0 addr 86.182 TiB size 8.000 KiB access 0 % age 14.900 s 49 1 addr 86.182 TiB size 8.000 KiB access 60 % age 0 ns 50 2 addr 86.182 TiB size 3.422 MiB access 0 % age 4.100 s 51 3 addr 86.182 TiB size 2.004 MiB access 95 % age 2.200 s 52 4 addr 86.182 TiB size 29.688 MiB access 0 % age 14.100 s 53 5 addr 86.182 TiB size 29.516 MiB access 0 % age 16.700 s 54 6 addr 86.182 TiB size 29.633 MiB access 0 % age 17.900 s 55 7 addr 86.182 TiB size 117.652 MiB access 0 % age 18.400 s 56 8 addr 126.990 TiB size 62.332 MiB access 0 % age 9.500 s 57 9 addr 126.990 TiB size 13.980 MiB access 0 % age 5.200 s [all …]
|
| /linux/scripts/gdb/linux/ |
| H A D | slab.py | 119 age = jiffies - track['when'] 132 loc['sum_time'] += age 133 loc['min_time'] = min(loc['min_time'], age) 134 loc['max_time'] = max(loc['max_time'], age) 142 'sum_time' : age, 143 'min_time' : age, 144 'max_time' : age,
|
| /linux/fs/ubifs/ |
| H A D | shrinker.c | 58 static int shrink_tnc(struct ubifs_info *c, int nr, int age, int *contention) in shrink_tnc() argument 110 abs(time - znode->time) >= age) { in shrink_tnc() 144 static int shrink_tnc_trees(int nr, int age, int *contention) in shrink_tnc_trees() argument 187 freed += shrink_tnc(c, nr, age, contention); in shrink_tnc_trees()
|
| /linux/Documentation/translations/zh_CN/mm/damon/ |
| H A D | design.rst | 223 易,DAMON 在每个区域中维护另一个名为 ``age`` 的计数器。对于每个 ``聚集间隔``,DAMON 检查该 281 监测结果快照中各区域的 ``nr_accesses`` 和 ``age`` 来衡量。该间隔的默认值 ``100ms`` 在许多情况 290 表示,也用 ``age`` 表示。例如,即使监测结果中的每个区域都显示 ``nr_accesses`` 为零,仍然可以 291 用 ``age`` 值作为时近性信息来区分区域。 415 当任何这类动作被应用到区域时,DAMOS 会重置这些区域的 age。 468 时近性(``age``)而不是访问频率(``nr_accesses``)。DAMOS 允许用户指定每个访问模式
|
| /linux/fs/f2fs/ |
| H A D | extent_cache.c | 86 unsigned long age, unsigned long last_blocks, in __set_extent_info() argument 100 ei->age = age; in __set_extent_info() 172 abs(back->age - front->age) <= SAME_AGE_REGION && in __is_extent_mergeable() 484 /* initialize block age cache */ in f2fs_init_extent_tree() 617 "extent node in rb tree [%u, %u, %u], age [%llu, %llu], " in __insert_extent_tree() 618 "extent node to insert [%u, %u, %u], age [%llu, %llu]", in __insert_extent_tree() 619 __func__, et->type, en->ei.fofs, en->ei.blk, en->ei.len, en->ei.age, in __insert_extent_tree() 620 en->ei.last_blocks, ei->fofs, ei->blk, ei->len, ei->age, e in __insert_extent_tree() [all...] |
| H A D | gc.c | 367 unsigned char age = 0; in get_cb_cost() local 384 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost() 387 return UINT_MAX - ((100 * (100 - u) * age) / (100 + u)); in get_cb_cost() 556 unsigned long long age, u, accu; in atgc_lookup_victim() local 587 /* age = 10000 * x% * 60 */ in atgc_lookup_victim() 588 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * in atgc_lookup_victim() 598 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim() 600 cost = UINT_MAX - (age + u); in atgc_lookup_victim() 604 (cost == p->min_cost && age > p->oldest_age)) { in atgc_lookup_victim() 606 p->oldest_age = age; in atgc_lookup_victim() 626 unsigned long long age; atssr_lookup_victim() local 772 f2fs_get_victim(struct f2fs_sb_info * sbi,unsigned int * result,int gc_type,int type,char alloc_mode,unsigned long long age,bool one_time) f2fs_get_victim() argument [all...] |
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | trace_ibhdrs.h | 86 u8 *age, bool *becn, bool *fecn, 92 u8 age, bool becn, bool fecn, u8 l4, 123 __field(u8, age) 160 &__entry->age, 226 __entry->age, 283 __field(u8, age) 320 &__entry->age, 390 __entry->age,
|
| H A D | trace.c | 169 u8 *age, bool *becn, bool *fecn, in hfi1_trace_parse_16b_hdr() argument 174 *age = hfi1_16B_get_age(hdr); in hfi1_trace_parse_16b_hdr() 192 u8 age, bool becn, bool fecn, u8 l4, in hfi1_trace_fmt_lrh() argument 203 age, becn, fecn, l4, rc, sc, pkey, entropy); in hfi1_trace_fmt_lrh()
|
| /linux/tools/testing/selftests/damon/ |
| H A D | damos_apply_interval.py | 25 # >= 25% access rate, >= 200ms age 26 nr_accesses=[5, 20], age=[2, 2**64 - 1]), 32 # >= 25% access rate, >= 200ms age 33 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
|
| H A D | _damon_sysfs.py | 44 age = None variable in DamosAccessPattern 47 def __init__(self, size=None, nr_accesses=None, age=None): argument 50 self.age = age 56 if self.age is None: 57 self.age = [0, 2**32 - 1] 80 os.path.join(self.sysfs_dir(), 'age', 'min'), self.age[0]) 84 os.path.join(self.sysfs_dir(), 'age', 'max'), self.age[ 383 __init__(self, start, end, nr_accesses, age) global() argument [all...] |
| H A D | sysfs.py | 120 assert_true(dump['min_age_region'] == pattern.age[0], 'min_age_region', 122 assert_true(dump['max_age_region'] == pattern.age[1], 'max_age_region', 342 age=[5,71]),
|
| H A D | sysfs_update_schemes_tried_regions_wss_estimation.py | 22 # >= 25% access rate, >= 200ms age 23 nr_accesses=[5, 20], age=[2, 2**64 - 1]))] # schemes
|
| H A D | damos_quota.py | 26 # >= 25% access rate, >= 200ms age 27 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
|
| /linux/drivers/scsi/ |
| H A D | libiscsi.c | 341 task->conn->session->age); in iscsi_prep_scsi_cmd_pdu() 801 task->conn->session->age); 1206 * the LDD's itt space does not include the session age. 1399 int age = 0, i = 0; 1405 session->tt->parse_pdu_itt(conn, itt, &i, &age); 1408 age = ((__force u32)itt >> ISCSI_AGE_SHIFT) & ISCSI_AGE_MASK; in iscsi_itt_to_ctask() 1411 if (age != session->age) { in iscsi_itt_to_ctask() 1413 "received itt %x expected session age (%x)\n", in iscsi_itt_to_ctask() 1414 (__force u32)itt, session->age); in iscsi_itt_to_ctask() 1370 int age = 0, i = 0; iscsi_verify_itt() local 1918 iscsi_exec_task_mgmt_fn(struct iscsi_conn * conn,struct iscsi_tm * hdr,int age,int timeout) iscsi_exec_task_mgmt_fn() argument 2355 int age; iscsi_eh_abort() local [all...] |
| /linux/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
| H A D | start.rst | 122 $ echo "#min-size max-size min-acc max-acc min-age max-age action" > test_scheme
|
| /linux/fs/unicode/ |
| H A D | mkutf8data.c | 2309 unsigned int age; in corrections_init() local 2349 age = UNICODE_AGE(major, minor, revision); in corrections_init() 2350 corrections[count].correction = age; in corrections_init() 2806 int age = 0; in utf8agemax() local 2818 if (leaf_age <= tree->maxage && leaf_age > age) in utf8agemax() 2819 age = leaf_age; in utf8agemax() 2822 return age; in utf8agemax() 2833 int age; in utf8agemin() local 2839 age = tree->maxage; in utf8agemin() 2845 if (leaf_age <= tree->maxage && leaf_age < age) in utf8agemin() [all …]
|
| /linux/mm/ |
| H A D | ksm.c | 199 * @age: number of scan iterations since creation (unstable node) 216 rmap_age_t age; 805 * Reset linear_page_index that might overlay age-related in break_cow() 921 /* Reset linear_page_index that might overlay age-related information. */ in remove_node_from_stable_tree() 1075 /* Reset linear_page_index that might overlay age-related information. */ in remove_rmap_item_from_tree() 1081 unsigned char age; in remove_rmap_item_from_tree() 1089 age = (unsigned char)(ksm_scan.seqnr - rmap_item->address); in remove_rmap_item_from_tree() 1090 BUG_ON(age > 1); in remove_rmap_item_from_tree() 1091 if (!age) in remove_rmap_item_from_tree() 2460 * Calculate skip age fo in skip_age() 215 rmap_age_t age; global() member 1078 unsigned char age; remove_rmap_item_from_tree() local 2453 skip_age(rmap_age_t age) skip_age() argument 2474 rmap_age_t age; should_skip_rmap_item() local [all...] |
| /linux/mm/damon/ |
| H A D | core.c | 408 region->age = 0; 990 static unsigned int damon_age_for_new_attrs(unsigned int age, in damon_update_monitoring_results() 993 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; in damon_update_monitoring_results() 1056 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs); in damon_set_attrs() 1061 * aggregation interval that access to the region has found, and region->age is in damon_set_attrs() 1065 * ->nr_accesses and ->age of given damon_ctx's regions for new damon_attrs. in damon_set_attrs() 2446 s->pattern.min_age_region <= r->age && in damos_core_filter_out() 2447 r->age <= s->pattern.max_age_region; in damos_core_filter_out() 2813 r->age in damos_get_node_mem_bp() 913 damon_age_for_new_attrs(unsigned int age,struct damon_attrs * old_attrs,struct damon_attrs * new_attrs) damon_age_for_new_attrs() argument [all...] |
| /linux/Documentation/admin-guide/mm/ |
| H A D | slab.rst | 198 INFO: Allocated in get_modalias+0x61/0xf5 age=53 cpu=1 pid=554 244 INFO: Allocated in <kernel function> age=<jiffies since alloc> cpu=<allocated by 246 INFO: Freed in <kernel function> age=<jiffies since free> cpu=<freed by cpu> 418 338 pci_alloc_dev+0x2c/0xa0 waste=521872/1544 age=290837/291891/293509 pid=1 cpus=106 nodes=0-1 449 1980 <not-available> age=4294912290 pid=0 cpus=0 450 51 acpi_ut_update_ref_count+0x6a6/0x782 age=236886/237027/237772 pid=1 cpus=1
|