lkml.org 
[lkml]   [2016]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: + kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added to -mm tree

* 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

\
 
 \ /
  Last update: 2016-02-09 12:21    [W:0.063 / U:20.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site