From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759255Ab3KMRhG (ORCPT ); Wed, 13 Nov 2013 12:37:06 -0500 Received: from mail-ea0-f180.google.com ([209.85.215.180]:36526 "EHLO mail-ea0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758428Ab3KMRg7 (ORCPT ); Wed, 13 Nov 2013 12:36:59 -0500 Date: Wed, 13 Nov 2013 18:36:55 +0100 From: Ingo Molnar To: Jens Axboe Cc: John Stultz , LKML , Peter Zijlstra , Vivek Goyal , Fengguang Wu Subject: Re: [PATCH] block: Employ u64_stats_init() Message-ID: <20131113173655.GB10482@gmail.com> References: <1384314134-6895-1-git-send-email-john.stultz@linaro.org> <5283A10E.2090304@kernel.dk> <20131113173521.GA10482@gmail.com> <5283B87E.2070703@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5283B87E.2070703@kernel.dk> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Jens Axboe wrote: > On 11/13/2013 10:35 AM, Ingo Molnar wrote: > > > > * Jens Axboe wrote: > > > >> On 11/12/2013 08:42 PM, John Stultz wrote: > >>> From: Peter Zijlstra > >>> > >>> Now that seqcounts are lockdep enabled objects, we need to properly > >>> initialize them. > >>> > >>> Without this patch, Fengguang was seeing: > >>> [ 4.127282] INFO: trying to register non-static key. > >>> [ 4.128027] the code is fine but needs lockdep annotation. > >>> [ 4.128027] turning off the locking correctness validator. > >>> [ 4.128027] CPU: 0 PID: 96 Comm: kworker/u4:1 Not tainted 3.12.0-next-20131108-10601-gbad570d #2 > >>> [ 4.128027] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 > >>> [ 4.128027] Workqueue: events_unbound async_run_entry_fn > >>> [ 4.128027] 7908e744 00000000 78019968 79dc7cf2 7a80e0a8 780199a0 7908953e 7a1b7f4d > >>> [ 4.128027] 7a1b7fa7 7a1b7f7d 7f368608 00000000 00000011 44374011 0000a805 7f368110 > >>> [ 4.128027] 7f368110 85bf2a70 00000000 780199cc 7908a1c5 00000000 00000001 00000000 > >>> [ 4.128027] Call Trace: > >>> [ 4.128027] [<7908e744>] ? console_unlock+0x353/0x380 > >>> [ 4.128027] [<79dc7cf2>] dump_stack+0x48/0x60 > >>> [ 4.128027] [<7908953e>] __lock_acquire.isra.26+0x7e3/0xceb > >>> [ 4.128027] [<7908a1c5>] lock_acquire+0x71/0x9a > >>> [ 4.128027] [<794079aa>] ? blk_throtl_bio+0x1c3/0x485 > >>> [ 4.128027] [<7940658b>] throtl_update_dispatch_stats+0x7c/0x153 > >>> [ 4.128027] [<794079aa>] ? blk_throtl_bio+0x1c3/0x485 > >>> [ 4.128027] [<794079aa>] blk_throtl_bio+0x1c3/0x485 > >>> ... > >>> > >>> Cc: Vivek Goyal > >>> Cc: Jens Axboe > >>> Cc: Fengguang Wu > >>> Cc: Ingo Molnar > >>> Reported-by: Fengguang Wu > >>> Signed-off-by: Peter Zijlstra > >>> [jstultz: Folded in another fix from the mailing list as well as a fix > >>> to that fix. Tweaked commit message.] > >>> Signed-off-by: John Stultz > >> > >> Thanks for fixing this up, John/Peter. I'll get it queued up. > > > > Note that I've already applied it to the locking tree earlier today and > > sent it to Linus, didn't want to expose upstream to known false positives. > > OK, that works for me, thanks! Also, if it breaks I'll take full responsibility for messing up! :-) Thanks, Ingo