ENUM DAMOS_WMARK_METRIC(9)
π enum damos_wmark_metric(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for enum damos_wmark_metric, and honestly? it's a lil enum with main character energy. it's just here to tell you which watermark metric a DAMOS scheme is looking at. that's it. that's the vibe. π
πΈ NAME πΈ
enum damos_wmark_metric β literally just represents the watermark metric, no cap π
β¨ SYNOPSIS β¨
enum damos_wmark_metric {
DAMOS_WMARK_NONE ,
DAMOS_WMARK_FREE_MEM_RATE ,
NR_DAMOS_WMARK_METRICS
};
likeβ¦ three members, zero drama, all iconic π¦
π«Ά CONSTANTS π«Ά
DAMOS_WMARK_NONEβ ignore the watermarks of the given scheme. it's giving "not me, not today," and honestly valid πDAMOS_WMARK_FREE_MEM_RATEβ the free memory rate of the system, expressed in the range[0,1000]. yes bestie,[0,1000], exactly like that ππ₯NR_DAMOS_WMARK_METRICSβ the total number of DAMOS watermark metrics. it's the little counter at the end keeping track of everything, lowkey the group-chat admin π
π SEE ALSO π
kernel file ./include/linux/damon.h β the source of truth, go read it fr fr πβ¨
and the whole squad, because you cannot be a lone wolf in DAMON-land:
struct damon_addr_range(9)struct damon_size_range(9)struct damon_region(9)struct damon_target(9)enum damos_action(9)enum damos_quota_goal_metric(9)struct damos_quota_goal(9)enum damos_quota_goal_tuner(9)struct damos_quota(9)struct damos_watermarks(9)struct damos_stat(9)enum damos_filter_type(9)struct damos_filter(9)struct damos_walk_control(9)struct damos_access_pattern(9)struct damos_migrate_dests(9)struct damos(9)enum damon_ops_id(9)struct damon_operations(9)struct damon_intervals_goal(9)enum damon_filter_type(9)struct damon_filter(9)struct damon_probe(9)struct damon_attrs(9)struct damon_ctx(9)
like, that's the whole friend group ππ© you're welcome.
π‘ reminder bestie:[0,1000]is the range forDAMOS_WMARK_FREE_MEM_RATE. don't go inventing numbers outside it, i'm begging π
and that's the page!! sign-off time π this one lives under ./include/linux, dated October 2026, and it's enum damos_wmark_metric(9) β read it, love it, cite it in your patch. slay, periodt, bye πππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms