Re: [PATCH 1/2] kernel/watchdog: add /sys/kernel/{hard,soft}lockup_count

From: Andrew Morton
Date: Sat May 03 2025 - 22:47:17 EST


On Fri, 2 May 2025 12:39:04 +0200 Max Kellermann <max.kellermann@xxxxxxxxx> wrote:

> There is /proc/sys/kernel/hung_task_detect_count,
> /sys/kernel/warn_count and /sys/kernel/oops_count but there is no
> userspace-accessible counter for hard/soft lockups.

Documenation/, please?

> Having this is useful for monitoring tools.

Useful how? Use cases? Examples?

A proposal to permanently extend Linux's userspace API requires better
justification than an unsubstantiated assertion, surely?