* [PATCH] kernel/hung_task: unexport sysctl_hung_task_timeout_secs
@ 2025-11-04 12:19 Christoph Hellwig
2025-11-04 12:56 ` Lance Yang
2025-11-04 23:44 ` Masami Hiramatsu
0 siblings, 2 replies; 3+ messages in thread
From: Christoph Hellwig @ 2025-11-04 12:19 UTC (permalink / raw)
To: akpm; +Cc: lance.yang, mhiramat, linux-kernel
This was added by the bcachefs pull requests despite various
objections, and with bcachefs removed is now unused.
This reverts commit 5c3273ec3c6af356b29ff50a654f0dc33bf25a83.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
kernel/hung_task.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/hung_task.c b/kernel/hung_task.c
index b2c1f14b8129..1dfb9bc1bdef 100644
--- a/kernel/hung_task.c
+++ b/kernel/hung_task.c
@@ -50,7 +50,6 @@ static unsigned long __read_mostly sysctl_hung_task_detect_count;
* Zero means infinite timeout - no checking done:
*/
unsigned long __read_mostly sysctl_hung_task_timeout_secs = CONFIG_DEFAULT_HUNG_TASK_TIMEOUT;
-EXPORT_SYMBOL_GPL(sysctl_hung_task_timeout_secs);
/*
* Zero (default value) means use sysctl_hung_task_timeout_secs:
--
2.47.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] kernel/hung_task: unexport sysctl_hung_task_timeout_secs
2025-11-04 12:19 [PATCH] kernel/hung_task: unexport sysctl_hung_task_timeout_secs Christoph Hellwig
@ 2025-11-04 12:56 ` Lance Yang
2025-11-04 23:44 ` Masami Hiramatsu
1 sibling, 0 replies; 3+ messages in thread
From: Lance Yang @ 2025-11-04 12:56 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: mhiramat, linux-kernel, akpm
On 2025/11/4 20:19, Christoph Hellwig wrote:
> This was added by the bcachefs pull requests despite various
> objections, and with bcachefs removed is now unused.
>
> This reverts commit 5c3273ec3c6af356b29ff50a654f0dc33bf25a83.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
Nice cleanup! LGTM:
Reviewed-by: Lance Yang <lance.yang@linux.dev>
> kernel/hung_task.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/hung_task.c b/kernel/hung_task.c
> index b2c1f14b8129..1dfb9bc1bdef 100644
> --- a/kernel/hung_task.c
> +++ b/kernel/hung_task.c
> @@ -50,7 +50,6 @@ static unsigned long __read_mostly sysctl_hung_task_detect_count;
> * Zero means infinite timeout - no checking done:
> */
> unsigned long __read_mostly sysctl_hung_task_timeout_secs = CONFIG_DEFAULT_HUNG_TASK_TIMEOUT;
> -EXPORT_SYMBOL_GPL(sysctl_hung_task_timeout_secs);
>
> /*
> * Zero (default value) means use sysctl_hung_task_timeout_secs:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kernel/hung_task: unexport sysctl_hung_task_timeout_secs
2025-11-04 12:19 [PATCH] kernel/hung_task: unexport sysctl_hung_task_timeout_secs Christoph Hellwig
2025-11-04 12:56 ` Lance Yang
@ 2025-11-04 23:44 ` Masami Hiramatsu
1 sibling, 0 replies; 3+ messages in thread
From: Masami Hiramatsu @ 2025-11-04 23:44 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: akpm, lance.yang, mhiramat, linux-kernel
On Tue, 4 Nov 2025 07:19:20 -0500
Christoph Hellwig <hch@lst.de> wrote:
> This was added by the bcachefs pull requests despite various
> objections, and with bcachefs removed is now unused.
>
> This reverts commit 5c3273ec3c6af356b29ff50a654f0dc33bf25a83.
>
Looks good to me.
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Thanks!
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> kernel/hung_task.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/hung_task.c b/kernel/hung_task.c
> index b2c1f14b8129..1dfb9bc1bdef 100644
> --- a/kernel/hung_task.c
> +++ b/kernel/hung_task.c
> @@ -50,7 +50,6 @@ static unsigned long __read_mostly sysctl_hung_task_detect_count;
> * Zero means infinite timeout - no checking done:
> */
> unsigned long __read_mostly sysctl_hung_task_timeout_secs = CONFIG_DEFAULT_HUNG_TASK_TIMEOUT;
> -EXPORT_SYMBOL_GPL(sysctl_hung_task_timeout_secs);
>
> /*
> * Zero (default value) means use sysctl_hung_task_timeout_secs:
> --
> 2.47.3
>
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-04 23:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-04 12:19 [PATCH] kernel/hung_task: unexport sysctl_hung_task_timeout_secs Christoph Hellwig
2025-11-04 12:56 ` Lance Yang
2025-11-04 23:44 ` Masami Hiramatsu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox