Re: [PATCH v2] mm: oom_kill: add trace logs in process_mrelease() system call

From: Andrew Morton
Date: Tue Aug 16 2022 - 20:36:04 EST


On Tue, 16 Aug 2022 11:30:17 +0530 Pratyush Brahma <pbrahma@xxxxxxxxxxxxxxxx> wrote:

> The process_mrelease() system call[1] is used to release the memory of
> a dying process from the context of the caller, which is similar to and
> uses the functions of the oom reaper logic. There exists trace logs for
> a process when reaped by the oom reaper. Just extend the same to when
> done by the process_mrelease() system call.

Why? Please describe in full detail the end-user value of this change.