[PATCH 0/7 v2] vm, vmscan: enahance vmscan tracepoints

From: Michal Hocko
Date: Wed Jan 04 2017 - 05:20:49 EST


Hi,
this is the second version of the patchset [1]. I hope I've addressed all
the review feedback.

While debugging [2] I've realized that there is some room for
improvements in the tracepoints set we offer currently. I had hard times
to make any conclusion from the existing ones. The resulting problem
turned out to be active list aging [3] and we are missing at least two
tracepoints to debug such a problem.

Some existing tracepoints could export more information to see _why_ the
reclaim progress cannot be made not only _how much_ we could reclaim.
The later could be seen quite reasonably from the vmstat counters
already. It can be argued that we are showing too many implementation
details in those tracepoints but I consider them way too lowlevel
already to be usable by any kernel independent userspace. I would be
_really_ surprised if anything but debugging tools have used them.

Any feedback is highly appreciated.

[1] http://lkml.kernel.org/r/20161228153032.10821-1-mhocko@xxxxxxxxxx
[2] http://lkml.kernel.org/r/20161215225702.GA27944@xxxxxxxxxxxxxxxx
[3] http://lkml.kernel.org/r/20161223105157.GB23109@xxxxxxxxxxxxxx