From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933396AbdBPSHI (ORCPT ); Thu, 16 Feb 2017 13:07:08 -0500 Received: from mout.gmx.net ([212.227.15.18]:62806 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933098AbdBPSHC (ORCPT ); Thu, 16 Feb 2017 13:07:02 -0500 Message-ID: <1487268380.15359.4.camel@gmx.de> Subject: Re: [RT] lockdep munching nr_list_entries like popcorn From: Mike Galbraith To: Sebastian Andrzej Siewior Cc: Peter Zijlstra , Thomas Gleixner , RT , LKML Date: Thu, 16 Feb 2017 19:06:20 +0100 In-Reply-To: <20170216145354.unz44uocud4ybrfq@linutronix.de> References: <1487224986.5258.45.camel@gmx.de> <1487235000.5258.48.camel@gmx.de> <20170216110618.GC6557@twins.programming.kicks-ass.net> <1487256179.28442.8.camel@gmx.de> <20170216145354.unz44uocud4ybrfq@linutronix.de> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:P162BbmpEEbywn2FKV+PsQ6aB0wBQVoDWsTfdTzKa6xK8PyLJ/9 l108luLYblpilDa+2ygR+mLNHiJgwqMW+Jc7kvLxdtVF0rPymP6s8lECgFlcM+EZHDbNUyu B33QC8Zz2F4pPYAP+EUm1H68cqf23uSHQLMJsfnugBzMKwK0wY6UjFRc6v4NOX64bPXaRKO IWyo2Ts4p6Ew3fTHEVx4Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:WppilkV+PeU=:74Yv75DiJed2lp8Wxo1DzA sim3WTerbeGfwPqxB+d67YnFGmqDE1kqYgsaNA/vsJMInrVlXZ/juL5EN2nKJ6uU20y3Eaqt7 1lk2KLy4ep0yrVOE4opJXOig0YzC+DtmXlT3nBcqHzuD/lKJNSlsqLXvZGR+ufRhl7WnLOlVp QVpGGV3rrOgoZ2HkzJ1MJJOCaMeafaiL6bc/4U25JZoEOeRbO54awY7I3Q8sIUdVdyoapANPB ULW4Qb6y72dtEfN/djcRudYm312I8/bnl29IEZ/hZeeJ6DpM64t1+2L4loJVVr4xN3BmVdWm2 Q+YtsLRGVEZDFdEJC2gQ30fm5UNxkoWKqIy/TtMnDoX1estBNBvipcc5g9Stvtksja0/TsFmM BopZ94wWrZ1WJwtdPc7eGi4SFqhrwS9S2TgKuntNTltNn3uTUWmzOgZglQzCLCVu+8+ZoqjsD Zx/lYPFLNexHi7aq4F3fCP28fV4PO2ZoaIL4ifHCT7B9n+shqwfZ0Xghb4zvSbk0UyWv/awKo 8APqrtd9XMonllNJMdV5sYFWG1fuMnN2BOKA7kfUgtRj7Sp3qVHgN8Jd7VuKVyzBgPTxnEj0H qG31uULYG80CnLHXySu/OTmuYz0Be+f8La7W/4KUB+qmxE4i1hu0fIZ+7VH18s3rzH8wrvspf Yvr4pT/LzZhSEv/6m7cw5bAJhDEp22XkJk+ud3YW8MEfMkiVvgs4758KKWEWgzeXQ9lsdfIxi 9sj8xDeffnEE9no64Tp624QT8LEtWYKXPsXniZnpVj49kncd7MRjZR4T9gzmUDJgPheTPjS2L PTXIB2g Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2017-02-16 at 15:53 +0100, Sebastian Andrzej Siewior wrote: > On 2017-02-16 15:42:59 [+0100], Mike Galbraith wrote: > > > > Weeell, I'm trying to cobble something kinda like that together using > > __RT_SPIN_INITIALIZER() instead, but seems mean ole Mr. Compiler NAKs > > the PER_CPU_DEP_MAP_INIT() thingy. > > > > CC mm/swap.o > > mm/swap.c:54:689: error: braced-group within expression allowed only > > inside a function > > so this is what I have now. I need to get the `static' symbol working > again and PER_CPU_DEP_MAP_INIT but aside from that it seems to do its > job. ... Yeah, works, I should be able to do an ltp run with stock lockdep settings without it taking it's toys and going home in a snit. berio:/sys/kernel/debug/tracing/:[0]# !while while sleep 60; do tail -1 trace; done <...>-10315 [064] d...1.. 226.953935: add_lock_to_list.isra.24.constprop.42: nr_list_entries: 14223 w-13148 [120] d...111 287.414978: add_lock_to_list.isra.24.constprop.42: nr_list_entries: 14465 w-16492 [089] d...111 347.128742: add_lock_to_list.isra.24.constprop.42: nr_list_entries: 14653 (starts kbuild loop) btrfs-transacti-1964 [016] d...1.. 411.101549: add_lock_to_list.isra.24.constprop.42: nr_list_entries: 17011 <...>-100268 [127] d...112 472.271769: add_lock_to_list.isra.24.constprop.42: nr_list_entries: 18153 w-18864 [011] d...1.. 534.386443: add_lock_to_list.isra.24.constprop.42: nr_list_entries: 18543 <...>-50390 [035] dN..2.. 597.794164: add_lock_to_list.isra.24.constprop.42: nr_list_entries: 18765 <...>-80098 [127] d...111 659.912145: add_lock_to_list.isra.24.constprop.42: nr_list_entries: 18977 checkproc-11123 [017] d...1.. 721.483463: add_lock_to_list.isra.24.constprop.42: nr_list_entries: 19247 -0 [055] d..h5.. 782.685953: add_lock_to_list.isra.24.constprop.42: nr_list_entries: 19383 <...>-93632 [055] d...111 835.527817: add_lock_to_list.isra.24.constprop.42: nr_list_entries: 19441