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, 9 Feb 2016 12:00:29 +0100
From:	Ingo Molnar <mingo@...nel.org>
To:	Andrey Ryabinin <aryabinin@...tuozzo.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>, krinkin.m.u@...il.com,
	mingo@...e.hu, peterz@...radead.org, linux-kernel@...r.kernel.org,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: +
 kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added
 to -mm tree


* Andrey Ryabinin <aryabinin@...tuozzo.com> wrote:

> On 02/04/2016 12:44 AM, Andrew Morton wrote:
> > 
> > Probably lockdep_init() and lockdep_initialized can be done away with now.
> > 
> 
> Yup, it probably should be folded into your patch, or we could hold this off for 4.6.
> 
> 
> From: Andrey Ryabinin <aryabinin@...tuozzo.com>                                                                                                                                                                     
> Subject: kernel/lockdep: eliminate lockdep_init()
> 
> Lockdep is initialized at compile time now. Get rid of lockdep_init().
> 
> Signed-off-by: Andrey Ryabinin <aryabinin@...tuozzo.com>
> ---
>  arch/c6x/kernel/setup.c                       |  2 -
>  arch/microblaze/kernel/setup.c                |  2 -
>  arch/powerpc/kernel/setup_32.c                |  2 -
>  arch/powerpc/kernel/setup_64.c                |  3 --
>  arch/s390/kernel/early.c                      |  1 -
>  arch/sparc/kernel/head_64.S                   |  8 ----
>  arch/x86/lguest/boot.c                        |  6 ---
>  include/linux/lockdep.h                       |  2 -
>  init/main.c                                   |  5 ---
>  kernel/locking/lockdep.c                      | 59 ---------------------------
>  tools/lib/lockdep/common.c                    |  5 ---
>  tools/lib/lockdep/include/liblockdep/common.h |  1 -
>  tools/lib/lockdep/preload.c                   |  2 -
>  13 files changed, 98 deletions(-)

Very nice! Should have done this from day one on ...

Thanks,

	Ingo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ