Home
last modified time | relevance | path

Searched full:age (Results 1 – 25 of 212) sorted by relevance

123456789

/linux-6.14.4/Documentation/mm/damon/
Dmonitoring_intervals_tuning_example.rst38 frequency and the age of the region. If the access frequency is 0 %, the
45 0 addr 16.052 GiB size 5.985 GiB access 0 % age 5.900 s # coldest
46 1 addr 22.037 GiB size 6.029 GiB access 0 % age 5.300 s
47 2 addr 28.065 GiB size 6.045 GiB access 0 % age 5.200 s
48 3 addr 10.069 GiB size 5.983 GiB access 0 % age 4.500 s
49 4 addr 4.000 GiB size 6.069 GiB access 0 % age 4.400 s
50 5 addr 62.008 GiB size 3.992 GiB access 0 % age 3.700 s
51 6 addr 56.795 GiB size 5.213 GiB access 0 % age 3.300 s
52 7 addr 39.393 GiB size 6.096 GiB access 0 % age 2.800 s
53 8 addr 50.782 GiB size 6.012 GiB access 0 % age 2.800 s
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gt/
Dintel_gt_buffer_pool.c55 unsigned long age; in pool_free_older_than() local
59 age = READ_ONCE(node->age); in pool_free_older_than()
60 if (!age || jiffies - age < keep) in pool_free_older_than()
64 if (!xchg(&node->age, 0)) in pool_free_older_than()
115 GEM_BUG_ON(node->age); in pool_retire()
118 WRITE_ONCE(node->age, jiffies ?: 1); /* 0 reserved for active nodes */ in pool_retire()
151 node->age = 0; in node_create()
184 unsigned long age; in intel_gt_get_buffer_pool() local
192 age = READ_ONCE(node->age); in intel_gt_get_buffer_pool()
193 if (!age) in intel_gt_get_buffer_pool()
[all …]
Dintel_mocs.c181 /* Age 0 - LLC */ \
185 /* Age 0 - L3 + LLC */ \
189 /* Age: Don't Chg. - LLC */ \
193 /* Age: Don't Chg. - L3 + LLC */ \
205 /* No AOM; Age 0 - LLC */ \
209 /* No AOM; Age 0 - L3 + LLC */ \
213 /* No AOM; Age:DC - LLC */ \
217 /* No AOM; Age:DC - L3 + LLC */ \
/linux-6.14.4/include/trace/events/
Ddamon.h29 __field(unsigned int, age)
40 __entry->age = r->age;
48 __entry->nr_accesses, __entry->age)
64 __field(unsigned int, age)
73 __entry->age = r->age;
79 __entry->nr_accesses, __entry->age)
/linux-6.14.4/Documentation/admin-guide/mm/damon/
Dstart.rst48 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 …]
Dusage.rst79 │ │ │ │ │ │ │ │ age/min,max
89 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age,sz_filter_passed
310 ``nr_accesses``, and ``age``) each having two files (``min`` and ``max``)
313 ``nr_accesses``, and ``age`` directories, respectively. Note that the ``min``
349 <damon_design_damos_quotas_prioritization>` for size, access frequency, and age
481 and ``age`` of the region.
502 ``nr_accesses``, ``age``, and ``sz_filter_passed``). Reading the files will
513 limitation, page out memory regions having longer age first. Also, check the
528 # echo 10 > access_pattern/age/min
529 # echo 20 > access_pattern/age/max
[all …]
/linux-6.14.4/include/linux/
Dunicode.h21 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-6.14.4/fs/ubifs/
Dshrinker.c23 * The age of znodes is just the time-stamp when they were last looked at.
52 * @age: the age of znodes to free
56 * clean znodes which younger then @age. Returns number of freed znodes.
58 static int shrink_tnc(struct ubifs_info *c, int nr, int age, int *contention) in shrink_tnc() argument
73 * children are older or of the same age. in shrink_tnc()
110 abs(time - znode->time) >= age) { in shrink_tnc()
137 * @age: the age of znodes to free
141 * znodes which are older than @age, until at least @nr znodes are freed.
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-6.14.4/tools/testing/selftests/damon/
D_damon_sysfs.py40 age = None variable in DamosAccessPattern
43 def __init__(self, size=None, nr_accesses=None, age=None): argument
46 self.age = age
52 if self.age is None:
53 self.age = [0, 2**64 - 1]
76 os.path.join(self.sysfs_dir(), 'age', 'min'), self.age[0])
80 os.path.join(self.sysfs_dir(), 'age', 'max'), self.age[1])
179 def __init__(self, start, end, nr_accesses, age): argument
183 self.age = age
429 for f in ['start', 'end', 'nr_accesses', 'age']:
Ddamos_apply_interval.py22 # >= 25% access rate, >= 200ms age
23 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
29 # >= 25% access rate, >= 200ms age
30 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
Dsysfs_update_schemes_tried_regions_wss_estimation.py19 # >= 25% access rate, >= 200ms age
20 nr_accesses=[5, 20], age=[2, 2**64 - 1]))] # schemes
Ddamos_quota.py23 # >= 25% access rate, >= 200ms age
24 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
/linux-6.14.4/arch/mips/include/asm/sn/sn0/
Dhubni.h46 #define NI_AGE_CPU0_MEMORY 0x600500 /* CPU 0 memory age control */
47 #define NI_AGE_CPU0_PIO 0x600508 /* CPU 0 PIO age control */
48 #define NI_AGE_CPU1_MEMORY 0x600510 /* CPU 1 memory age control */
49 #define NI_AGE_CPU1_PIO 0x600518 /* CPU 1 PIO age control */
50 #define NI_AGE_GBR_MEMORY 0x600520 /* GBR memory age control */
51 #define NI_AGE_GBR_PIO 0x600528 /* GBR PIO age control */
52 #define NI_AGE_IO_MEMORY 0x600530 /* IO memory age control */
53 #define NI_AGE_IO_PIO 0x600538 /* IO PIO age control */
/linux-6.14.4/scripts/gdb/linux/
Dslab.py119 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,
218 … gdb.write(" age=%d/%d/%d" % (loc['min_time'], loc['sum_time']/loc['count'], loc['max_time']))
220 gdb.write(" age=%d" % loc['min_time'])
/linux-6.14.4/fs/f2fs/
Dextent_cache.c77 unsigned long age, unsigned long last_blocks, in __set_extent_info() argument
91 ei->age = age; in __set_extent_info()
163 abs(back->age - front->age) <= SAME_AGE_REGION && in __is_extent_mergeable()
475 /* initialize block age cache */ in f2fs_init_extent_tree()
672 tei->age, tei->last_blocks); in __update_extent_tree_range()
727 dei.age, dei.last_blocks, in __update_extent_tree_range()
736 dei.age, dei.last_blocks, in __update_extent_tree_range()
800 tei->age, tei->last_blocks, EX_BLOCK_AGE); in __update_extent_tree_range()
874 /* This returns a new age and allocated blocks in ei */
886 * file block even in seq write. So don't record age for newly last file in __get_new_block_age()
[all …]
Dgc.c368 unsigned char age = 0; in get_cb_cost() local
385 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost()
388 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()
[all …]
/linux-6.14.4/drivers/md/dm-vdo/
Dblock-map.h375 * vdo_convert_maximum_age() - Convert the maximum age to reflect the new recovery journal format
376 * @age: The configured maximum age
378 * Return: The converted age
381 * made two entries. The old maximum age was half the usable journal length. In the new format,
383 * age so that the number of writes in a block map era is the same in the old and new formats. This
388 static inline block_count_t vdo_convert_maximum_age(block_count_t age) in vdo_convert_maximum_age() argument
390 return DIV_ROUND_UP(age * RECOVERY_JOURNAL_1_ENTRIES_PER_BLOCK, in vdo_convert_maximum_age()
/linux-6.14.4/Documentation/translations/zh_TW/admin-guide/mm/damon/
Dusage.rst75 │ │ │ │ │ │ │ │ age/min,max
81 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age
227 在 ``access_pattern`` 目錄下,存在三個目錄( ``sz``, ``nr_accesses``, 和 ``age`` ),
229 ``age`` 目錄下的 ``min`` 和 ``max`` 文件分別寫入和讀取來設置和獲取給定方案的訪問模式。
293 在每個區域目錄中,你會發現四個文件(``start``, ``end``, ``nr_accesses``, and ``age``)。
316 # echo 10 > access_pattern/age/min
317 # echo 20 > access_pattern/age/max
/linux-6.14.4/Documentation/translations/zh_CN/admin-guide/mm/damon/
Dusage.rst75 │ │ │ │ │ │ │ │ age/min,max
81 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age
227 在 ``access_pattern`` 目录下,存在三个目录( ``sz``, ``nr_accesses``, 和 ``age`` ),
229 ``age`` 目录下的 ``min`` 和 ``max`` 文件分别写入和读取来设置和获取给定方案的访问模式。
293 在每个区域目录中,你会发现四个文件(``start``, ``end``, ``nr_accesses``, and ``age``)。
316 # echo 10 > access_pattern/age/min
317 # echo 20 > access_pattern/age/max
/linux-6.14.4/drivers/infiniband/hw/hfi1/
Dtrace_ibhdrs.h86 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,
/linux-6.14.4/mm/damon/
Dops-common.c86 age_in_sec = (unsigned long)r->age * c->attrs.aggr_interval / 1000000; in damon_hot_score()
91 /* If frequency is 0, higher age means it's colder */ in damon_hot_score()
97 * Scale it to be in [0, 100] and set it as age subscore. in damon_hot_score()
Dsysfs-schemes.c21 unsigned int age; member
37 sysfs_region->age = region->age; in damon_sysfs_scheme_region_alloc()
75 return sysfs_emit(buf, "%u\n", region->age); in age_show()
106 __ATTR_RO_MODE(age, 0400);
1079 unsigned int age; member
1083 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument
1093 weights->age = age; in damon_sysfs_weights_alloc()
1141 return sysfs_emit(buf, "%u\n", weights->age); in age_permil_show()
1149 int err = kstrtouint(buf, 0, &weights->age); in age_permil_store()
1356 struct damon_sysfs_ul_range *age; member
[all …]
/linux-6.14.4/include/uapi/linux/
Dtcp_metrics.h52 TCP_METRICS_ATTR_TW_TS_STAMP, /* s32, sec age */
56 TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS, /* msecs age */
/linux-6.14.4/fs/unicode/
Dmkutf8data.c1327 * We need to keep track of the Canonical Combining Class, the Age,
1330 * For the Age, we store the index into the ages table. Effectively
1621 /* Two trees per age: nfdi and nfdicf */ in trees_init()
1954 ret = sscanf(line, "# Age=V%d_%d_%d", in age_init()
1959 printf(" Age V%d_%d_%d\n", in age_init()
1965 ret = sscanf(line, "# Age=V%d_%d", &major, &minor); in age_init()
1969 printf(" Age V%d_%d\n", major, minor); in age_init()
1978 printf("%d age entries\n", ages_count); in age_init()
1992 ret = sscanf(line, "# Age=V%d_%d_%d", in age_init()
1998 printf(" Age V%d_%d_%d = gen %d\n", in age_init()
[all …]
/linux-6.14.4/drivers/scsi/
Dlibiscsi.c341 task->conn->session->age); in iscsi_prep_scsi_cmd_pdu()
787 task->conn->session->age); in iscsi_alloc_mgmt_task()
1178 * the LDD's itt space does not include the session age.
1368 int age = 0, i = 0; in iscsi_verify_itt() local
1374 session->tt->parse_pdu_itt(conn, itt, &i, &age); in iscsi_verify_itt()
1377 age = ((__force u32)itt >> ISCSI_AGE_SHIFT) & ISCSI_AGE_MASK; in iscsi_verify_itt()
1380 if (age != session->age) { in iscsi_verify_itt()
1382 "received itt %x expected session age (%x)\n", in iscsi_verify_itt()
1383 (__force u32)itt, session->age); in iscsi_verify_itt()
1417 if (iscsi_cmd(task->sc)->age != conn->session->age) { in iscsi_itt_to_ctask()
[all …]

123456789