From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932907AbcBILAf (ORCPT ); Tue, 9 Feb 2016 06:00:35 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33943 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753225AbcBILAd (ORCPT ); Tue, 9 Feb 2016 06:00:33 -0500 Date: Tue, 9 Feb 2016 12:00:29 +0100 From: Ingo Molnar To: Andrey Ryabinin Cc: Andrew Morton , krinkin.m.u@gmail.com, mingo@elte.hu, peterz@infradead.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Thomas Gleixner Subject: Re: + kernel-locking-lockdepc-make-lockdep-initialize-itself-on-demand.patch added to -mm tree Message-ID: <20160209110029.GA27847@gmail.com> References: <56b11d2d.vVw1kB2la7Y+70xF%akpm@linux-foundation.org> <20160203074430.GA32652@gmail.com> <20160203085111.fc3f2631.akpm@linux-foundation.org> <20160203124009.0325b983b74fa15082f13f4d@linux-foundation.org> <20160203134403.aa944de2a3863b9a4beccf63@linux-foundation.org> <56B34E87.1030604@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56B34E87.1030604@virtuozzo.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Andrey Ryabinin 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 > Subject: kernel/lockdep: eliminate lockdep_init() > > Lockdep is initialized at compile time now. Get rid of lockdep_init(). > > Signed-off-by: Andrey Ryabinin > --- > 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