lkml.org 
[lkml]   [2008]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH [RT] 02/14] spinlock: make preemptible-waiter feature a specific config option
Hi!

> We introduce a configuration variable for the feature to make it easier for
> various architectures and/or configs to enable or disable it based on their
> requirements.
>
> Signed-off-by: Gregory Haskins <ghaskins@novell.com>
> ---
>
> kernel/Kconfig.preempt | 9 +++++++++
> kernel/spinlock.c | 7 +++----
> lib/Kconfig.debug | 1 +
> 3 files changed, 13 insertions(+), 4 deletions(-)
>
> diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
> index 41a0d88..5b45213 100644
> --- a/kernel/Kconfig.preempt
> +++ b/kernel/Kconfig.preempt
> @@ -86,6 +86,15 @@ config PREEMPT
> default y
> depends on PREEMPT_DESKTOP || PREEMPT_RT
>
> +config DISABLE_PREEMPT_SPINLOCK_WAITERS
> + bool
> + default n
> +
> +config PREEMPT_SPINLOCK_WAITERS
> + bool
> + default y
> + depends on PREEMPT && SMP && !DISABLE_PREEMPT_SPINLOCK_WAITERS

tabs vs. spaces problems?

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2008-02-22 20:27    [W:0.199 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site