kernel/hung_task.c: export sysctl_hung_task_timeout_secs
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 9 Feb 2024 06:04:38 +0000 (01:04 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 14 Mar 2024 01:22:04 +0000 (21:22 -0400)
commit5c3273ec3c6af356b29ff50a654f0dc33bf25a83
treec398c4374497790da41a07a3a9ab06e1ced0316a
parent8f9320d3a3993e76c8097fb8567ba5f3eb2cb91b
kernel/hung_task.c: export sysctl_hung_task_timeout_secs

needed for thread_with_file; also rare but not unheard of to need this
in module code, when blocking on user input.

one workaround used by some code is wait_event_interruptible() - but
that can be buggy if the outer context isn't expecting unwinding.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: fuyuanli <fuyuanli@didiglobal.com>
kernel/hung_task.c