ENUM DAMOS_WMARK_METRIC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 for DAMOS_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