Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1330094

Re: + kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added to -mm tree

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: + kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added to -mm tree
Date 2016-02-09 12:10 +0100
Message-ID <r0elc-3c6-13@gated-at.bofh.it> (permalink)
References (1 earlier) <qY0mm-7ok-25@gated-at.bofh.it> <qY8MW-4sb-9@gated-at.bofh.it> <qYcxc-6PH-29@gated-at.bofh.it> <qYdtf-7qy-3@gated-at.bofh.it> <qYrZg-FN-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Andrey Ryabinin <aryabinin@virtuozzo.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@virtuozzo.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@virtuozzo.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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: +  kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added  to -mm tree Ingo Molnar <mingo@kernel.org> - 2016-02-03 08:50 +0100
  Re: +  kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added  to -mm tree Andrey Ryabinin <aryabinin@virtuozzo.com> - 2016-02-03 10:50 +0100
    Re: +  kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added  to -mm tree Ingo Molnar <mingo@kernel.org> - 2016-02-03 10:50 +0100
  Re: +  kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch  added to -mm tree Andrew Morton <akpm@linux-foundation.org> - 2016-02-03 17:50 +0100
    Re: +  kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch  added to -mm tree Andrew Morton <akpm@linux-foundation.org> - 2016-02-03 21:50 +0100
      Re: +  kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch  added to -mm tree Andrew Morton <akpm@linux-foundation.org> - 2016-02-03 22:50 +0100
        Re: +  kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added  to -mm tree Andrey Ryabinin <aryabinin@virtuozzo.com> - 2016-02-04 14:20 +0100
          Re: +  kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch  added to -mm tree Michael Ellerman <mpe@ellerman.id.au> - 2016-02-08 10:40 +0100
          Re: +  kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added  to -mm tree Ingo Molnar <mingo@kernel.org> - 2016-02-09 12:10 +0100
    Re: +  kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added  to -mm tree Ingo Molnar <mingo@kernel.org> - 2016-02-09 12:20 +0100
      Re: +  kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch  added to -mm tree Andrew Morton <akpm@linux-foundation.org> - 2016-02-09 21:20 +0100

csiph-web