On Wed, 20 Sep 2023 17:38:49 +0800 liwenyu <wenyuli@xxxxxxxxxxxxxxx> wrote:
The current memory reclaim delay statistics only count the direct memory
reclaim of the task in do_try_to_free_pages(). In systems with NUMA
open, some tasks occasionally experience slower response times, but the
total count of reclaim does not increase, using ftrace can show that
node_reclaim has occurred.
The memory reclaim occurring in get_page_from_freelist() is also due to
heavy memory load. To get the impact of tasks in memory reclaim, this
patch adds the statistics of the memory reclaim delay statistics for
__node_reclaim().
Please review Documentation/accounting/delay-accounting.rst, see if
there is some change we can make to reflect this patch.
Your email client is wordwrapping the patches - please check that for
next time.
There is no need to change the
Documentation/accounting/delay-accounting.rst, because this patch is
only an expansion of memory reclaim delayacct.
Thanks!