Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 19 Jan 2023 10:07:23 +0100 | From | Michal Hocko <> | Subject | Re: [PATCH 1/3] mm: return the number of pages successfully paged out |
| |
On Wed 18-01-23 14:27:23, Minchan Kim wrote: [...] > Let me know if you have other concern or suggestion.
I would propose to use a tracepoint to track this on the madvise side. This way you can both track a per-process effectivity as well a madvise originator effectivity (if the policy is implemented by a global monitor then it won't get interfering activity by other users of this interface). Global counters cannot do neither of that. -- Michal Hocko SUSE Labs
| ![\](/images/icornerr.gif) |