Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F398734BA5A for ; Thu, 20 Nov 2025 22:04:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763676283; cv=none; b=l21Qa+YChgvnRnvoPUTfNh/aHrMnc7H3QHvYMoJnamwR/5pEuOxeQ8/Vvxw2ElUYyafmRL7zrSw3iaa5alwzzlOuuyRWLWXDa+UajApc5ASScH4PQhIwQ79nbYoV2RWKfUpRgvLg7PT8QqcFimCAKVwgAqUwAr6RjFf0zRsLqSg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763676283; c=relaxed/simple; bh=suOnRGaclRvOHYYmQx06rqfHkQnzQE6fgewcLxKQfg0=; h=Date:To:From:Subject:Message-Id; b=rohlJZJjEymbi93bJ5TPAc383JRU2AjbkC7wYBvF+PihWKqW4bUaPiJU3k1LTtUiopy2uGhztsreL7tF8nzPASFKL6gjNHwIx5gDCHhFQOvq0Lbz5kn4fn7GX0VE6VjAVF3UwnrCUiKgvn+8498BctoZZjklLyKidNvRsiKyRdE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=qqn0p3iB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="qqn0p3iB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C93B2C4CEF1; Thu, 20 Nov 2025 22:04:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1763676282; bh=suOnRGaclRvOHYYmQx06rqfHkQnzQE6fgewcLxKQfg0=; h=Date:To:From:Subject:From; b=qqn0p3iBg91O8FryjRSisw0htzyEqHYKBBz5+9kEQ6ZLU4uRg5ihEFpmvc6sYLkER PQhGZ0Evga1UCPjke8q8Tc1uLcuJ5fdhd9OMjyheupVMAIsdbJWTMz3vGVfZYC/6+Y WaxgEin74Fc7fpsfgBVR2UtETZp+xbSbRi4mDG8w= Date: Thu, 20 Nov 2025 14:04:42 -0800 To: mm-commits@vger.kernel.org,rostedt@goodmis.org,pmladek@suse.com,paulmck@kernel.org,ioworker0@gmail.com,corbet@lwn.net,feng.tang@linux.alibaba.com,akpm@linux-foundation.org From: Andrew Morton Subject: [merged mm-nonmm-stable] docs-panic-correct-some-sys_ifo-names-in-sysctl-doc.patch removed from -mm tree Message-Id: <20251120220442.C93B2C4CEF1@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The quilt patch titled Subject: docs: panic: correct some sys_ifo names in sysctl doc has been removed from the -mm tree. Its filename was docs-panic-correct-some-sys_ifo-names-in-sysctl-doc.patch This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: Feng Tang Subject: docs: panic: correct some sys_ifo names in sysctl doc Date: Thu, 13 Nov 2025 19:10:36 +0800 Patch series "Enable hung_task and lockup cases to dump system info on demand", v2. When working on kernel stability issues: panic, task-hung and soft/hard lockup are frequently met. And to debug them, user may need lots of system information at that time, like task call stacks, lock info, memory info, ftrace dump, etc. panic case already uses sys_info() for this purpose, and has a 'panic_sys_info' sysctl(also support cmdline setup) interface to take human readable string like "tasks,mem,timers,locks,ftrace,..." to control what kinds of information is needed. Which is also helpful to debug task-hung and lockup cases. So this patchset introduces the similar sys_info sysctl interface for task-hung and lockup cases. his is mainly for debugging and the info dumping could be intrusive, like dumping call stack for all tasks when system has huge number of tasks, similarly for ftrace dump (we may add tracing_stop() and tracing_start() around it) Locally these have been used in our bug chasing for stability issues and were helpful. As Andrew suggested, add a configurable global 'kernel_sys_info' knob. When error scenarios like panic/hung-task/lockup etc doesn't setup their own sys_info knob and calls sys_info() with parameter "0", this global knob will take effect. It could be used for other kernel cases like OOM, which may not need one dedicated sys_info knob. This patch (of 4): Some sys_info names wered forgotten to change in patch iterations, while the right names are defined in kernel/sys_info.c. Link: https://lkml.kernel.org/r/20251113111039.22701-1-feng.tang@linux.alibaba.com Link: https://lkml.kernel.org/r/20251113111039.22701-2-feng.tang@linux.alibaba.com Fixes: d747755917bf ("panic: add 'panic_sys_info' sysctl to take human readable string parameter") Signed-off-by: Feng Tang Reviewed-by: Petr Mladek Cc: Jonathan Corbet Cc: Lance Yang Cc: "Paul E . McKenney" Cc: Steven Rostedt Signed-off-by: Andrew Morton --- Documentation/admin-guide/sysctl/kernel.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Documentation/admin-guide/sysctl/kernel.rst~docs-panic-correct-some-sys_ifo-names-in-sysctl-doc +++ a/Documentation/admin-guide/sysctl/kernel.rst @@ -911,8 +911,8 @@ to 'panic_print'. Possible values are: ============= =================================================== tasks print all tasks info mem print system memory info -timer print timers info -lock print locks info if CONFIG_LOCKDEP is on +timers print timers info +locks print locks info if CONFIG_LOCKDEP is on ftrace print ftrace buffer all_bt print all CPUs backtrace (if available in the arch) blocked_tasks print only tasks in uninterruptible (blocked) state _ Patches currently in -mm which might be from feng.tang@linux.alibaba.com are