From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fengguang Wu Subject: xfs_alloc_vextent: object is on stack, but not annotated Date: Sun, 3 Jun 2012 20:51:34 +0800 Message-ID: <20120603125134.GA25628@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org To: Christoph Hellwig , Dave Chinner Return-path: Received: from mga11.intel.com ([192.55.52.93]:62938 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750958Ab2FCMvl (ORCPT ); Sun, 3 Jun 2012 08:51:41 -0400 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello, I got this warning when turning on object debugging: [ 780.529603] XFS (vdd): Ending clean mount [ 781.454590] ODEBUG: object is on stack, but not annotated [ 781.455433] ------------[ cut here ]------------ [ 781.455433] WARNING: at /c/kernel-tests/sound/lib/debugobjects.c:301 __debug_object_init+0x173/0x1f1() [ 781.455433] Hardware name: Bochs [ 781.455433] Modules linked in: [ 781.455433] Pid: 26910, comm: kworker/0:2 Not tainted 3.4.0+ #51 [ 781.455433] Call Trace: [ 781.455433] [] warn_slowpath_common+0x83/0x9b [ 781.455433] [] warn_slowpath_null+0x1a/0x1c [ 781.455433] [] __debug_object_init+0x173/0x1f1 [ 781.455433] [] debug_object_init+0x14/0x16 [ 781.455433] [] __init_work+0x20/0x22 [ 781.455433] [] xfs_alloc_vextent+0x6c/0xd5 [ 781.455433] [] xfs_bmap_btalloc+0x504/0x7b0 [ 781.455433] [] ? _raw_spin_unlock+0x29/0x3d [ 781.455433] [] ? xfs_iext_bno_to_ext+0xa8/0x128 [ 781.455433] [] ? xfs_bmbt_get_all+0x18/0x1a [ 781.455433] [] ? xfs_bmap_search_multi_extents+0x9e/0xe2 [ 781.455433] [] xfs_bmapi_allocate+0x129/0x2d6 [ 781.455433] [] ? kmem_zone_alloc+0x63/0xaf [ 781.455433] [] xfs_bmapi_write+0x453/0x8cd [ 781.455433] [] ? kmem_zone_alloc+0x63/0xaf [ 781.455433] [] xfs_iomap_write_allocate+0x1c4/0x2c5 [ 781.455433] [] xfs_map_blocks+0x1a6/0x418 [ 781.455433] [] xfs_vm_writepage+0x329/0x558 [ 781.455433] [] __writepage+0x17/0x36 [ 781.455433] [] write_cache_pages+0x305/0x451 [ 781.455433] [] ? bdi_set_max_ratio+0x6f/0x6f [ 781.455433] [] ? xfs_vm_writepages+0x2c/0x51 [ 781.455433] [] ? __lock_acquired+0x3a/0x29e [ 781.455433] [] generic_writepages+0x43/0x59 [ 781.455433] [] xfs_vm_writepages+0x46/0x51 [ 781.455433] [] do_writepages+0x23/0x2c [ 781.455433] [] __filemap_fdatawrite_range+0x53/0x55 [ 781.455433] [] filemap_fdatawrite_range+0x13/0x15 [ 781.455433] [] xfs_flush_pages+0x6d/0xa2 [ 781.455433] [] xfs_sync_inode_data+0x70/0x8b [ 781.455433] [] xfs_inode_ag_walk+0x29f/0x452 [ 781.455433] [] ? xfs_inode_ag_walk+0x61/0x452 [ 781.455433] [] ? cpuacct_charge+0x27/0x1de [ 781.455433] [] ? xfs_sync_worker+0x8c/0x8c [ 781.455433] [] ? xfs_uuid_unmount+0xbb/0xbb [ 781.455433] [] ? xfs_uuid_unmount+0xbb/0xbb [ 781.455433] [] ? radix_tree_lookup_element+0xc5/0x129 [ 781.455433] [] ? xfs_perag_get+0x126/0x225 [ 781.455433] [] ? xfs_uuid_unmount+0xbb/0xbb [ 781.455433] [] ? xfs_inode_ag_iterator+0x64/0x8b [ 781.455433] [] ? xfs_sync_worker+0x8c/0x8c [ 781.455433] [] xfs_inode_ag_iterator+0x3c/0x8b [ 781.455433] [] xfs_sync_data+0x42/0x63 [ 781.455433] [] xfs_flush_worker+0x20/0x32 [ 781.455433] [] process_one_work+0x2ea/0x593 [ 781.455433] [] ? process_one_work+0x1bf/0x593 [ 781.455433] [] ? __lock_acquired+0x3a/0x29e [ 781.455433] [] ? xfs_sync_data+0x63/0x63 [ 781.455433] [] process_scheduled_works+0x21/0x2f [ 781.455433] [] worker_thread+0x12b/0x1d2 [ 781.455433] [] ? manage_workers.isra.20+0xab/0xab [ 781.455433] [] kthread+0x9a/0xa2 [ 781.455433] [] kernel_thread_helper+0x4/0x10 [ 781.455433] [] ? _raw_spin_unlock_irq+0x2e/0x48 [ 781.455433] [] ? trace_hardirqs_on+0xd/0xf [ 781.455433] [] ? retint_restore_args+0x13/0x13 [ 781.455433] [] ? __init_kthread_worker+0x5a/0x5a [ 781.455433] [] ? gs_change+0x13/0x13 [ 781.455433] ---[ end trace 501ea1b14d9cfbec ]--- Thanks, Fengguang