Home
last modified time | relevance | path

Searched full:schemes (Results 1 – 25 of 105) sorted by relevance

12345

/linux-6.8/Documentation/ABI/testing/
Dsysfs-kernel-mm-damon31 schemes stats files of the kdamond. Writing
143 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes
148 of the context named '0' to 'N-1' under the schemes/ directory.
150 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/action
156 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/apply_interval_us
163 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/min
169 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/max
175 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/…
181 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/…
187 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/min
[all …]
/linux-6.8/tools/testing/selftests/damon/
D_damon_sysfs.py88 self.context.sysfs_dir(), 'schemes', '%d' % self.idx)
194 schemes = None variable in DamonCtx
199 schemes=[]): argument
209 self.schemes = schemes
210 for idx, scheme in enumerate(self.schemes):
242 self.sysfs_dir(), 'schemes', 'nr_schemes')
244 if int(content) != len(self.schemes):
245 err = write_file(nr_schemes_file, '%d' % len(self.schemes))
248 for scheme in self.schemes:
294 for scheme in context.schemes:
Dsysfs_update_removed_scheme_dir.sh29 echo 1 > "$damon_sysfs/kdamonds/0/contexts/0/schemes/nr_schemes"
30 scheme_dir="$damon_sysfs/kdamonds/0/contexts/0/schemes/0"
38 echo 0 > "$damon_sysfs/kdamonds/0/contexts/0/schemes/nr_schemes"
Dsysfs_update_schemes_tried_regions_wss_estimation.py17 schemes=[_damon_sysfs.Damos(
20 nr_accesses=[5, 20], age=[2, 2**64 - 1]))] # schemes
38 kdamonds.kdamonds[0].contexts[0].schemes[0].tried_bytes)
Ddebugfs_schemes.sh6 # Test schemes file
9 file="$DBGFS/schemes"
Dsysfs_update_schemes_tried_regions_hang.py15 schemes=[_damon_sysfs.Damos(
17 nr_accesses=[200, 200]))] # schemes
/linux-6.8/Documentation/translations/zh_TW/admin-guide/mm/damon/
Dusage.rst75 │ │ │ │ │ schemes/nr_schemes
138 ``targets``, 和 ``schemes``)。
198 contexts/<N>/schemes/
208 schemes/<N>/
226 schemes/<N>/access_pattern/
236 schemes/<N>/quotas/
255 schemes/<N>/watermarks/
273 schemes/<N>/stats/
284 schemes/<N>/tried_regions/
314 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
[all …]
/linux-6.8/Documentation/translations/zh_CN/admin-guide/mm/damon/
Dusage.rst75 │ │ │ │ │ schemes/nr_schemes
138 ``targets``, 和 ``schemes``)。
198 contexts/<N>/schemes/
208 schemes/<N>/
226 schemes/<N>/access_pattern/
236 schemes/<N>/quotas/
255 schemes/<N>/watermarks/
273 schemes/<N>/stats/
284 schemes/<N>/tried_regions/
314 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
[all …]
/linux-6.8/drivers/net/ethernet/freescale/fman/
Dfman_keygen.c15 /* Maximum number of KeyGen Schemes */
201 * schemes sharing between multiple ports is not
230 struct keygen_scheme schemes[FM_KG_MAX_NUM_OF_SCHEMES]; member
231 /* Array of schemes */
283 * Build Action Register value for port binding to schemes
361 * Write all Schemes Registers with specified values
416 * Return: 0 on success, -EINVAL when the are no available free schemes
423 if (!keygen->schemes[i].used) { in get_free_scheme_id()
445 return &keygen->schemes[scheme_id]; in get_scheme()
450 * Bind the port to schemes
[all …]
/linux-6.8/Documentation/admin-guide/mm/damon/
Dusage.rst80 │ │ │ │ │ :ref:`schemes <sysfs_schemes>`/nr_schemes
141 - ``commit_schemes_quota_goals``: Read the DAMON-based operation schemes'
180 and three directories (``monitoring_attrs``, ``targets``, and ``schemes``)
283 contexts/<N>/schemes/
286 The directory for DAMON-based Operation Schemes (:ref:`DAMOS
287 <damon_design_damos>`). Users can get and set the schemes by reading from and
296 schemes/<N>/
332 schemes/<N>/access_pattern/
347 schemes/<N>/quotas/
373 schemes/<N>/quotas/goals/
[all …]
/linux-6.8/mm/damon/
Ddbgfs.c193 static void free_schemes_arr(struct damos **schemes, ssize_t nr_schemes) in free_schemes_arr() argument
198 kfree(schemes[i]); in free_schemes_arr()
199 kfree(schemes); in free_schemes_arr()
235 struct damos *scheme, **schemes; in str_to_schemes() local
241 schemes = kmalloc_array(max_nr_schemes, sizeof(scheme), in str_to_schemes()
243 if (!schemes) in str_to_schemes()
286 schemes[*nr_schemes] = scheme; in str_to_schemes()
289 return schemes; in str_to_schemes()
291 free_schemes_arr(schemes, *nr_schemes); in str_to_schemes()
300 struct damos **schemes; in dbgfs_schemes_write() local
[all …]
Dsysfs.c637 struct damon_sysfs_schemes *schemes; member
694 struct damon_sysfs_schemes *schemes = damon_sysfs_schemes_alloc(); in damon_sysfs_context_set_schemes() local
697 if (!schemes) in damon_sysfs_context_set_schemes()
699 err = kobject_init_and_add(&schemes->kobj, &damon_sysfs_schemes_ktype, in damon_sysfs_context_set_schemes()
700 &context->kobj, "schemes"); in damon_sysfs_context_set_schemes()
702 kobject_put(&schemes->kobj); in damon_sysfs_context_set_schemes()
705 context->schemes = schemes; in damon_sysfs_context_set_schemes()
741 damon_sysfs_schemes_rm_dirs(context->schemes); in damon_sysfs_context_rm_dirs()
742 kobject_put(&context->schemes->kobj); in damon_sysfs_context_rm_dirs()
1013 * @DAMON_SYSFS_CMD_UPDATE_SCHEMES_TRIED_REGIONS: Update schemes tried
[all …]
Dsysfs-schemes.c130 * of all schemes as 'idle' again, and register ->before_damos_apply() and
226 * schemes/stats directory
1668 * schemes directory
1676 void damon_sysfs_schemes_rm_dirs(struct damon_sysfs_schemes *schemes) in damon_sysfs_schemes_rm_dirs() argument
1678 struct damon_sysfs_scheme **schemes_arr = schemes->schemes_arr; in damon_sysfs_schemes_rm_dirs()
1681 for (i = 0; i < schemes->nr; i++) { in damon_sysfs_schemes_rm_dirs()
1685 schemes->nr = 0; in damon_sysfs_schemes_rm_dirs()
1687 schemes->schemes_arr = NULL; in damon_sysfs_schemes_rm_dirs()
1690 static int damon_sysfs_schemes_add_dirs(struct damon_sysfs_schemes *schemes, in damon_sysfs_schemes_add_dirs() argument
1696 damon_sysfs_schemes_rm_dirs(schemes); in damon_sysfs_schemes_add_dirs()
[all …]
Dsysfs-common.h27 * schemes directory
37 void damon_sysfs_schemes_rm_dirs(struct damon_sysfs_schemes *schemes);
DMakefile6 obj-$(CONFIG_DAMON_SYSFS) += sysfs-common.o sysfs-schemes.o sysfs.o
Dcore.c360 list_add_tail(&s->list, &ctx->schemes); in damon_add_scheme()
465 INIT_LIST_HEAD(&ctx->schemes); in damon_new_ctx()
602 * damon_set_schemes() - Set data access monitoring based operation schemes.
604 * @schemes: array of the schemes
605 * @nr_schemes: number of entries in @schemes
610 void damon_set_schemes(struct damon_ctx *ctx, struct damos **schemes, in damon_set_schemes() argument
619 damon_add_scheme(ctx, schemes[i]); in damon_set_schemes()
965 struct damos *siter; /* schemes iterator */ in damos_apply_scheme()
1548 if (!list_empty(&ctx->schemes)) in kdamond_fn()
/linux-6.8/Documentation/mm/damon/
Ddesign.rst14 specification and DAMON-based operation schemes are stored in a data structure
240 Operation Schemes
253 One straightforward approach for such schemes would be profile-guided
263 effective, and therefore widely be used. However, implementing such schemes
271 Schemes (DAMOS). It lets users specify their desired schemes at a high
307 The access pattern of the schemes' interest. The patterns are constructed with
391 is activated. If all schemes are deactivated by the watermarks, the monitoring
408 To let users optimize DAMOS schemes with such special knowledge, DAMOS provides
420 list. Hence, users can apply specific schemes to only anonymous pages,
Dindex.rst25 (DAMon-based Operation Schemes) in addition to the monitoring. Using the
/linux-6.8/include/linux/
Ddamon.h19 /* Max priority score for DAMON-based operation schemes */
350 * To do the work only when needed, schemes can be activated for specific
351 * system situations using &wmarks. If all schemes that registered to the
468 * @after_wmarks_check: Called after each schemes' watermarks check.
481 * operation schemes' watermarks check. If users need to make changes to the
564 * @schemes: Head of schemes (&damos) list.
593 struct list_head schemes; member
638 list_for_each_entry(s, &(ctx)->schemes, list)
641 list_for_each_entry_safe(s, next, &(ctx)->schemes, list)
695 struct damos **schemes, ssize_t nr_schemes);
/linux-6.8/tools/perf/pmu-events/arch/x86/amdzen2/
Dfloating-point.json71 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
77 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
83 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
89 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
/linux-6.8/tools/perf/pmu-events/arch/x86/amdzen3/
Dfloating-point.json70 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
76 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
82 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
88 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
/linux-6.8/drivers/usb/musb/
DMakefile29 # possible I/O schemes will be enabled at a time ...
30 # PIO only, or DMA (several potential schemes).
/linux-6.8/tools/perf/pmu-events/arch/x86/amdzen1/
Dfloating-point.json172 …g the effectiveness of the Move elimination and Scalar code optimization schemes. Number of Scalar…
179 …g the effectiveness of the Move elimination and Scalar code optimization schemes. Number of Ops th…
186 …g the effectiveness of the Move elimination and Scalar code optimization schemes. Number of SSE Mo…
193 …g the effectiveness of the Move elimination and Scalar code optimization schemes. Number of SSE Mo…
/linux-6.8/Documentation/admin-guide/LSM/
DSmack.rst348 Computer systems employ a variety of schemes to constrain how information is
349 shared among the people and services using the machine. Some of these schemes
351 access to pieces of data. These schemes are called discretionary access
353 of the user. Other schemes do not leave the decision regarding what a user or
354 program can access up to users or programs. These schemes are called mandatory
502 be "born" highly classified. To accommodate such schemes Smack includes a
552 schemes and concepts from other systems. Most often, the other systems are
650 of systems that use compatible labeling schemes, and the DOI specified on the
/linux-6.8/Documentation/arch/mips/
Dbooting.rst8 Both schemes are supported; CONFIG_BOOT_RAW=y and CONFIG_NO_EXCEPT_FILL=y,

12345