Re: [OS-BUILD PATCH] [redhat] New configs in lib/Kconfig.debug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/21/20 1:27 PM, GitLab Bridge on behalf of jeremycline wrote:
> From: Fedora Kernel Team <kernel-team@xxxxxxxxxxxxxxxxx>
> 
> Hi,
> 
> As part of the ongoing rebase effort, the following configuration
> options need to be reviewed.
> 
> As a reminder, the ARK configuration flow involves moving unreviewed
> configuration options from the pending directory to the ark directory.
> In the diff below, options are removed from the pending directory and
> added to the ark hierarchy. The final options that need to be ACKed
> are the files that are being added to the ark hierarchy.
> 
> If the value for a file that is added should be changed, please reply
> with a better option.
> 
>  CONFIG_CSD_LOCK_WAIT_DEBUG:
> 
>  This option enables debug prints when CPUs are slow to respond
>  to the smp_call_function*() IPI wrappers.  These debug prints
>  include the IPI handler function currently executing (if any)
>  and relevant stack traces.
> 
>  Symbol: CSD_LOCK_WAIT_DEBUG [=n]
>  Type  : bool
>  Defined at lib/Kconfig.debug:1380
>    Prompt: Debugging for csd_lock_wait(), called from smp_call_function*()
>    Depends on: DEBUG_KERNEL [=y] && 64BIT [=y]
>    Location:
>      -> Kernel hacking
>        -> Lock Debugging (spinlocks, mutexes, etc...)

longman, should we turn this on in the base kernel?

> 
> ---
> 
>  CONFIG_SCF_TORTURE_TEST:
> 
>  This option provides a kernel module that runs torture tests
>  on the smp_call_function() family of primitives.  The kernel
>  module may be built after the fact on the running kernel to
>  be tested, if desired.
> 
>  Symbol: SCF_TORTURE_TEST [=n]
>  Type  : tristate
>  Defined at lib/Kconfig.debug:1370
>    Prompt: torture tests for smp_call_function*()
>    Depends on: DEBUG_KERNEL [=y]
>    Location:
>      -> Kernel hacking
>        -> Lock Debugging (spinlocks, mutexes, etc...)
>  Selects: TORTURE_TEST [=n]
> 

This can be Y for debug kernels.

P.

> ---
> 
> Cc: Prarit Bhargava <prarit@xxxxxxxxxx>
> Signed-off-by: Fedora Kernel Team <kernel-team@xxxxxxxxxxxxxxxxx>
> ---
>  .../common/generic/CONFIG_CSD_LOCK_WAIT_DEBUG |  1 +
>  .../common/generic/CONFIG_SCF_TORTURE_TEST    |  1 +
>  .../generic/CONFIG_CSD_LOCK_WAIT_DEBUG        | 19 ------------------
>  .../generic/CONFIG_SCF_TORTURE_TEST           | 20 -------------------
>  4 files changed, 2 insertions(+), 39 deletions(-)
>  create mode 100644 redhat/configs/common/generic/CONFIG_CSD_LOCK_WAIT_DEBUG
>  create mode 100644 redhat/configs/common/generic/CONFIG_SCF_TORTURE_TEST
>  delete mode 100644 redhat/configs/pending-common/generic/CONFIG_CSD_LOCK_WAIT_DEBUG
>  delete mode 100644 redhat/configs/pending-common/generic/CONFIG_SCF_TORTURE_TEST
> 
> diff --git a/redhat/configs/common/generic/CONFIG_CSD_LOCK_WAIT_DEBUG b/redhat/configs/common/generic/CONFIG_CSD_LOCK_WAIT_DEBUG
> new file mode 100644
> index 000000000000..086e41bbfcf8
> --- /dev/null
> +++ b/redhat/configs/common/generic/CONFIG_CSD_LOCK_WAIT_DEBUG
> @@ -0,0 +1 @@
> +# CONFIG_CSD_LOCK_WAIT_DEBUG is not set
> diff --git a/redhat/configs/common/generic/CONFIG_SCF_TORTURE_TEST b/redhat/configs/common/generic/CONFIG_SCF_TORTURE_TEST
> new file mode 100644
> index 000000000000..53ebe3b18974
> --- /dev/null
> +++ b/redhat/configs/common/generic/CONFIG_SCF_TORTURE_TEST
> @@ -0,0 +1 @@
> +# CONFIG_SCF_TORTURE_TEST is not set
> diff --git a/redhat/configs/pending-common/generic/CONFIG_CSD_LOCK_WAIT_DEBUG b/redhat/configs/pending-common/generic/CONFIG_CSD_LOCK_WAIT_DEBUG
> deleted file mode 100644
> index d2e1af1bda65..000000000000
> --- a/redhat/configs/pending-common/generic/CONFIG_CSD_LOCK_WAIT_DEBUG
> +++ /dev/null
> @@ -1,19 +0,0 @@
> -# CONFIG_CSD_LOCK_WAIT_DEBUG:
> -# 
> -# This option enables debug prints when CPUs are slow to respond
> -# to the smp_call_function*() IPI wrappers.  These debug prints
> -# include the IPI handler function currently executing (if any)
> -# and relevant stack traces.
> -# 
> -# Symbol: CSD_LOCK_WAIT_DEBUG [=n]
> -# Type  : bool
> -# Defined at lib/Kconfig.debug:1380
> -#   Prompt: Debugging for csd_lock_wait(), called from smp_call_function*()
> -#   Depends on: DEBUG_KERNEL [=y] && 64BIT [=y]
> -#   Location:
> -#     -> Kernel hacking
> -#       -> Lock Debugging (spinlocks, mutexes, etc...)
> -# 
> -# 
> -# 
> -# CONFIG_CSD_LOCK_WAIT_DEBUG is not set
> diff --git a/redhat/configs/pending-common/generic/CONFIG_SCF_TORTURE_TEST b/redhat/configs/pending-common/generic/CONFIG_SCF_TORTURE_TEST
> deleted file mode 100644
> index d22be82b0415..000000000000
> --- a/redhat/configs/pending-common/generic/CONFIG_SCF_TORTURE_TEST
> +++ /dev/null
> @@ -1,20 +0,0 @@
> -# CONFIG_SCF_TORTURE_TEST:
> -# 
> -# This option provides a kernel module that runs torture tests
> -# on the smp_call_function() family of primitives.  The kernel
> -# module may be built after the fact on the running kernel to
> -# be tested, if desired.
> -# 
> -# Symbol: SCF_TORTURE_TEST [=n]
> -# Type  : tristate
> -# Defined at lib/Kconfig.debug:1370
> -#   Prompt: torture tests for smp_call_function*()
> -#   Depends on: DEBUG_KERNEL [=y]
> -#   Location:
> -#     -> Kernel hacking
> -#       -> Lock Debugging (spinlocks, mutexes, etc...)
> -# Selects: TORTURE_TEST [=n]
> -# 
> -# 
> -# 
> -# CONFIG_SCF_TORTURE_TEST is not set
> 
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux