On Mon, 18 May 2026 17:17:02 -0700 SeongJae Park <[email protected]> wrote:
> On Mon, 18 May 2026 22:09:28 +0300 Maksym Shcherba <[email protected]> > wrote: > > > Add the logic to copy the current_value from the internal > > damos_quota_goal structure to the damos_sysfs_quota_goal sysfs structure. > > Introduce the DAMON_SYSFS_CMD_UPDATE_SCHEMES_QUOTA_GOALS command > > and integrate it with the sysfs interface via the 'state' file. > > Could you please further elaborate why you think this change is needed? What > is the expected use case and benefit? > Hi SJ, The documentation (`Documentation/admin-guide/mm/damon/usage.rst`) states that users can read the `current_value` file. However, the kernel currently never updates this value in sysfs, preventing users from reading the actual metrics. This patch series implements the missing logic to align the code with the documentation. If the design intent was to intentionally keep `current_value` internal and not expose it via sysfs, then the documentation is incorrect. Let me know if that's the case, and I will send a v2 that drops the code changes and only fixes the documentation. (Apologies for missing the cover letter where this should have been explained, this is my first patch submission). Thanks, Maksym Shcherba [...]

