Re: [PATCH] Kconfig: Remove DEBUG_RWSEMS

From: Randy Dunlap
Date: Thu Feb 08 2007 - 17:23:51 EST


On Thu, 8 Feb 2007 17:06:12 -0500 (EST) Robert P. J. Day wrote:

>
> Remove the final vestiges of the kernel config option DEBUG_RWSEMS,
> since it has no value, at least at the moment.
>
> Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>

Acked-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

no other uses of it.

> ---
>
> my apologies for pushing this so high up the food chain, but i want
> to submit another patch that sits *right* next to this one in the
> Kconfig.debug file so i either have to do it in two steps, or submit
> those two changes as a single patch, and i don't like doing that.
>
> so if this can go in in short order, well, that would be just ducky.
> if it can't, then just toss it and i'll move on to that second patch.
>
>
> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> index 5c26818..356a5ab 100644
> --- a/lib/Kconfig.debug
> +++ b/lib/Kconfig.debug
> @@ -181,19 +181,11 @@ config DEBUG_MUTEXES
> This feature allows mutex semantics violations to be detected and
> reported.
>
> -config DEBUG_RWSEMS
> - bool "RW-sem debugging: basic checks"
> - depends on DEBUG_KERNEL
> - help
> - This feature allows read-write semaphore semantics violations to
> - be detected and reported.
> -
> config DEBUG_LOCK_ALLOC
> bool "Lock debugging: detect incorrect freeing of live locks"
> depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
> select DEBUG_SPINLOCK
> select DEBUG_MUTEXES
> - select DEBUG_RWSEMS
> select LOCKDEP
> help
> This feature will check whether any held lock (spinlock, rwlock,
> @@ -209,7 +201,6 @@ config PROVE_LOCKING
> select LOCKDEP
> select DEBUG_SPINLOCK
> select DEBUG_MUTEXES
> - select DEBUG_RWSEMS
> select DEBUG_LOCK_ALLOC
> default n
> help
>
> --

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/