Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757840Ab0FBLRK (ORCPT ); Wed, 2 Jun 2010 07:17:10 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:42476 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755322Ab0FBLRH (ORCPT ); Wed, 2 Jun 2010 07:17:07 -0400 Date: Wed, 2 Jun 2010 13:16:53 +0200 From: Ingo Molnar To: Jens Axboe Cc: Peter Zijlstra , piotr@hosowicz.com, linux-kernel@vger.kernel.org, Divyesh Shah Subject: blkiocg_update_io_add_stats(): INFO: trying to register non-static key Message-ID: <20100602111653.GA25662@elte.hu> References: <4BF9EC69.5030709@example.com> <1274777422.5882.591.camel@twins> <20100601064120.GA3407@elte.hu> <20100601064726.GG1660@kernel.dk> <20100601065500.GA7876@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100601065500.GA7876@elte.hu> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3400 Lines: 75 btw., there's another warning triggered by the new blk-cgroups stats code: sda:INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. Pid: 81, comm: async/2 Not tainted 2.6.35-rc1-tip-01073-gd2f7698-dirty #6765 Call Trace: [] register_lock_class+0x15f/0x365 [] ? sched_clock_local+0x1d/0x83 [] ? sched_clock_cpu+0xcb/0xd9 [] __lock_acquire+0x97/0x481 [] ? native_sched_clock+0x37/0x6d [] ? blkiocg_update_io_add_stats+0x32/0x12e [] lock_acquire+0xd6/0xfd [] ? blkiocg_update_io_add_stats+0x32/0x12e [] _raw_spin_lock_irqsave+0x47/0x82 [] ? blkiocg_update_io_add_stats+0x32/0x12e [] blkiocg_update_io_add_stats+0x32/0x12e [] cfq_insert_request+0xdd/0x47c [] elv_insert+0x12a/0x1f4 [] __elv_add_request+0x99/0xa1 [] __make_request+0x3e2/0x45f [] generic_make_request+0x2a0/0x316 [] ? sub_preempt_count+0xf/0xb7 [] submit_bio+0xb8/0xd6 [] submit_bh+0xf5/0x117 [] block_read_full_page+0x1f2/0x214 [] ? blkdev_get_block+0x0/0x66 [] ? sub_preempt_count+0xf/0xb7 [] ? sub_preempt_count+0xf/0xb7 [] ? __lru_cache_add+0x79/0x97 [] blkdev_readpage+0x18/0x1a [] do_read_cache_page+0x95/0x128 [] ? blkdev_readpage+0x0/0x1a [] read_cache_page_async+0x1c/0x1e [] read_cache_page+0xe/0x18 [] read_dev_sector+0x33/0xbe [] adfspart_check_EESOX+0x59/0x1e7 [] ? sub_preempt_count+0xf/0xb7 [] ? sub_preempt_count+0xf/0xb7 [] ? sub_preempt_count+0xf/0xb7 [] ? vprintk+0x395/0x3f0 [] ? kzalloc.clone.1+0x13/0x15 [] ? printk+0x69/0x6b [] rescan_partitions+0x186/0x38d [] ? sd_open+0xf1/0x1bd [] __blkdev_get+0x291/0x372 [] ? kobject_put+0x48/0x4c [] blkdev_get+0x10/0x12 [] register_disk+0xb9/0x11d [] add_disk+0xb0/0x10c [] sd_probe_async+0x12a/0x200 [] ? ktime_get+0x65/0xbe [] async_thread+0x10e/0x21c [] ? default_wake_function+0x0/0x14 [] ? async_thread+0x0/0x21c [] kthread+0x9b/0xa3 [] kernel_thread_helper+0x4/0x10 [] ? kthread+0x0/0xa3 [] ? kernel_thread_helper+0x0/0x10 sda1 sda2 sda3 < sda5 sda6 sda7 sda8 sda9 sda10 > device: 'sda1': device_add PM: Adding info for No Bus:sda1 seems to be a lock taken by: [] blkiocg_update_io_add_stats+0x32/0x12e Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/