Re: [PATCH v2] mm/khugepaged: add tracepoint to collapse_file()

From: Andrew Morton
Date: Mon Oct 24 2022 - 18:51:16 EST


On Mon, 24 Oct 2022 23:05:58 +0530 Gautam Menghani <gautammenghani201@xxxxxxxxx> wrote:

> In the file mm/khugepaged.c, a TODO in the function collapse_file() asks
> to add tracepoints. Add the tracepoint named "mm_khugepaged_collapse_file".

This isn't a very satisfying explanation for changing the kernel. Maybe
the comment is stale are this tracepoint is unneeded.

Please explain afresh how this addition benefits kernel users?