lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220817090247.ef99115ca7a6c847f90dc4c6@linux-foundation.org>
Date:   Wed, 17 Aug 2022 09:02:47 -0700
From:   Andrew Morton <akpm@...ux-foundation.org>
To:     Pratyush Brahma <pbrahma@....qualcomm.com>
Cc:     linux-mm@...ck.org, linux-kernel@...r.kernel.org,
        quic_charante@...cinc.com,
        Pratyush Brahma <quic_pbrahma@...cinc.com>
Subject: Re: [PATCH v2] mm: oom_kill: add trace logs in process_mrelease()
 system call

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

> From: Charan Teja Kalla <quic_charante@...cinc.com>
> 
> 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.
> 
> ...
>
> +	pr_debug("process_mrelease: reaped process %d (%s), now anon-rss:%lukB, file-rss:%lukB, shmem-rss:%lukB\n",
> +						task_pid_nr(task), task->comm,
> +						K(get_mm_counter(mm, MM_ANONPAGES)),
> +						K(get_mm_counter(mm, MM_FILEPAGES)),
> +						K(get_mm_counter(mm, MM_SHMEMPAGES)));

This addition wasn't changelogged.  It's the only pr_debug in
oom_kill.c.  Please explain?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ