lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100602130456.GP3564@kernel.dk>
Date:	Wed, 2 Jun 2010 15:04:56 +0200
From:	Jens Axboe <jaxboe@...ionio.com>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	Peter Zijlstra <peterz@...radead.org>, piotr@...owicz.com,
	linux-kernel@...r.kernel.org, Divyesh Shah <dpshah@...gle.com>
Subject: Re: blkiocg_update_io_add_stats(): INFO: trying to register
	non-static  key

On Wed, Jun 02 2010, Ingo Molnar wrote:
> 
> 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:
>  [<ffffffff81065d6d>] register_lock_class+0x15f/0x365
>  [<ffffffff8105c426>] ? sched_clock_local+0x1d/0x83
>  [<ffffffff8105c557>] ? sched_clock_cpu+0xcb/0xd9
>  [<ffffffff81067184>] __lock_acquire+0x97/0x481
>  [<ffffffff810088d4>] ? native_sched_clock+0x37/0x6d
>  [<ffffffff81321b74>] ? blkiocg_update_io_add_stats+0x32/0x12e
>  [<ffffffff81067644>] lock_acquire+0xd6/0xfd
>  [<ffffffff81321b74>] ? blkiocg_update_io_add_stats+0x32/0x12e
>  [<ffffffff81850859>] _raw_spin_lock_irqsave+0x47/0x82
>  [<ffffffff81321b74>] ? blkiocg_update_io_add_stats+0x32/0x12e
>  [<ffffffff81321b74>] blkiocg_update_io_add_stats+0x32/0x12e

So that's blkg->stats_lock - help me out, what is lockdep complaining
about? The lock is initialized, what kind of lockdep annotation magic do
we need to sprinkle on it?

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ