Re: [PATCH] core_pattern: add CPU specifier

From: Oleg Nesterov
Date: Sat Sep 03 2022 - 03:20:40 EST


On 09/03, Oleksandr Natalenko wrote:
>
> Statistically, in a large deployment regular segfaults may indicate a CPU issue.
>
> Currently, it is not possible to find out what CPU the segfault happened on.
> There are at least two attempts to improve segfault logging with this regard,
> but they do not help in case the logs rotate.
>
> Hence, lets make sure it is possible to permanently record a CPU
> the task ran on using a new core_pattern specifier.
>
> Suggested-by: Renaud Métrich <rmetrich@xxxxxxxxxx>
> Signed-off-by: Oleksandr Natalenko <oleksandr@xxxxxxxxxx>
> ---
> Documentation/admin-guide/sysctl/kernel.rst | 1 +
> fs/coredump.c | 5 +++++
> include/linux/coredump.h | 1 +
> 3 files changed, 7 insertions(+)

Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>