ENUM DAMON_OPS_ID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum damon_ops_id(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a lil enum that lives in the Linux kernel, and honestly it's giving "quick vibe check for DAMON" β€” let me explain 🫢


🌸 NAME 🌸

enum damon_ops_id β€” the identifier for each monitoring operations implementation πŸ‘‘

like, every DAMON monitoring-ops thing gets its own lil ID tag. that's it. that's the enum. iconic behaviour honestly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

enum damon_ops_id {
    DAMON_OPS_VADDR ,
    DAMON_OPS_FVADDR ,
    DAMON_OPS_PADDR ,
    NR_DAMON_OPS

};

πŸŽ€ Constants πŸŽ€

okay here's the whole cast, main-character energy only ✨

  • DAMON_OPS_VADDR β€” monitoring operations for virtual address spaces 🧚 literally vibing across the whole virtual address space
  • DAMON_OPS_FVADDR β€” monitoring operations for only fixed ranges of virtual address spaces πŸ“Œ no cap, just the fixed bits, nothing extra
  • DAMON_OPS_PADDR β€” monitoring operations for the physical address space πŸ”₯ going straight to the hardware, iykyk
  • NR_DAMON_OPS β€” the number of monitoring operations implementations πŸ”’ the counter bestie, the final boss of the enum

⭐ SEE ALSO ⭐

bestie there's a whole friend group, and you know we're linking them all πŸ’œ first up, the kernel file itself: ./include/linux/damon.h πŸ“‚ and now the squad:

  • 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)
  • enum damos_wmark_metric(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)
  • 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)
go read them all, bestie, they're literally all connected 🌈 that's the whole ecosystem fr fr

mwah πŸ’‹ that's the whole page β€” sign-off time! this lil masterpiece lives in ./include/linux, dated October 2026, and it goes out as enum damon_ops_id(9) πŸŽ€ slay, bye πŸ’…βœ¨

πŸ“¦ where this page comes from