lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 29 Mar 2011 11:06:33 -0700
From:	"Justin P. Mattock" <justinmattock@...il.com>
To:	Steven Rostedt <rostedt@...dmis.org>
CC:	trivial@...nel.org, fweisbec@...il.com,
	linux-kernel@...r.kernel.org,
	Gerald Schaefer <gerald.schaefer@...ibm.com>,
	Heiko Carstens <heiko.carstens@...ibm.com>
Subject: Re: [PATCH]arch:Kconfig.locks Remove unused config option.

On 03/29/2011 10:53 AM, Steven Rostedt wrote:
> On Tue, Mar 29, 2011 at 09:36:51AM -0700, Justin P. Mattock wrote:
>> using a cleanup script I found this, could be real/fake not sure
>> I grepped the whole kernel and only found this. If/when you have
>> time let me know..
>
> This was added by: 36cd3c9f925b9307236505ae7ad1ad7ac4d4357c
> mutex: have non-spinning mutexes on s390 by default
>
> and removed by: fa188ae1657d6edc7963d524ce9a0650fe725242
> [S390] mutex: enable spinning mutex on s390
>
> So I think you are safe in removing it.
>
> Thanks!
>
>>
>> Signed-off-by: Justin P. Mattock<justinmattock@...il.com>
>
> Acked-by: Steven Rostedt<rostedt@...dmis.org>
>
> -- Steve
>

o.k... a bit confusing with some of these, but good learning!!

>>
>> ---
>>   arch/Kconfig         |    3 ---
>>   kernel/Kconfig.locks |    2 +-
>>   2 files changed, 1 insertions(+), 4 deletions(-)
>>
>> diff --git a/arch/Kconfig b/arch/Kconfig
>> index f78c2be..8d24bac 100644
>> --- a/arch/Kconfig
>> +++ b/arch/Kconfig
>> @@ -144,9 +144,6 @@ config HAVE_CLK
>>   config HAVE_DMA_API_DEBUG
>>   	bool
>>
>> -config HAVE_DEFAULT_NO_SPIN_MUTEXES
>> -	bool
>> -
>>   config HAVE_HW_BREAKPOINT
>>   	bool
>>   	depends on PERF_EVENTS
>> diff --git a/kernel/Kconfig.locks b/kernel/Kconfig.locks
>> index 88c92fb..5e62baf 100644
>> --- a/kernel/Kconfig.locks
>> +++ b/kernel/Kconfig.locks
>> @@ -199,4 +199,4 @@ config INLINE_WRITE_UNLOCK_IRQRESTORE
>>   	def_bool !DEBUG_SPINLOCK&&  ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
>>
>>   config MUTEX_SPIN_ON_OWNER
>> -	def_bool SMP&&  !DEBUG_MUTEXES&&  !HAVE_DEFAULT_NO_SPIN_MUTEXES
>> +	def_bool SMP&&  !DEBUG_MUTEXES
>> --
>> 1.7.4.1
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@...r.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ