Whamcloud - gitweb
LU-17242 debug: remove CFS_CHECK_STACK 83/52883/3
authorTimothy Day <timday@amazon.com>
Mon, 30 Oct 2023 02:18:01 +0000 (02:18 +0000)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Nov 2023 22:06:26 +0000 (22:06 +0000)
commitedb968d04f3a3c8054c12daee1ba557f855055ce
tree7b2ab087d554756bdfbd9a6ec3ceecfb1d0d9291
parent4b290188fbd70bd5de529eea6856c73fb9e4063c
LU-17242 debug: remove CFS_CHECK_STACK

CFS_CHECK_STACK is primitive, doesn't work on
x86_64, and only dumps a stack in kernel log
when we are fairly close to passing the stack
limit anyway.

Admins and developers can grab the same info from
debug/tracing/stack_trace and debug/tracing/stack_max_size
on a live system. And the kernel will dump a stack
if it 'Oops' from going over the stack limit.

We don't need an additional Lustre specific stack
checking mechanism.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Icc7c82f6a0dcd727de6ce2c2d40ba071ee349c0c
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52883
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
libcfs/include/libcfs/libcfs_debug.h
libcfs/libcfs/debug.c
libcfs/libcfs/tracefile.c
lnet/klnds/gnilnd/gnilnd.h
lnet/klnds/gnilnd/gnilnd_api_wrap.h
lustre/include/lustre_dlm.h
lustre/include/lustre_net.h
lustre/quota/lquota_internal.h