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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 21 Jul 2015 17:46:16 -0700
From:	Stephen Boyd <sboyd@...eaurora.org>
To:	Dave Jones <davej@...emonkey.org.uk>,
	Viresh Kumar <viresh.kumar@...aro.org>,
	Peter Zijlstra <peterz@...radead.org>
CC:	"Rafael J. Wysocki" <rjw@...ysocki.net>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	linux-pm@...r.kernel.org
Subject: Re: cpufreq/ondemand: unpinning an unpinned lock.

On 07/16/2015 05:42 AM, Dave Jones wrote:
> On Thu, Jul 16, 2015 at 10:41:50AM +0530, Viresh Kumar wrote:
>
>   > > > WARNING: CPU: 1 PID: 29529 at kernel/locking/lockdep.c:3497 lock_unpin_lock+0x109/0x110()
>   > > > unpinning an unpinned lock
>   > > > CPU: 1 PID: 29529 Comm: kworker/1:1 Not tainted 4.2.0-rc2-think+ #3
>   > > > Workqueue: events od_dbs_timer
>   > > >  0000000000000009 ffff880094d5baa8 ffffffffae7f5e6f 0000000000000007
>   > > >  ffff880094d5baf8 ffff880094d5bae8 ffffffffae07b91a 0000000000000118
>   > > >  00000000000000e0 ffff880507bd5c58 0000000000000092 0000000000000004
>   > > > Call Trace:
>   > > >  [<ffffffffae7f5e6f>] dump_stack+0x4f/0x7b
>   > > >  [<ffffffffae07b91a>] warn_slowpath_common+0x8a/0xc0
>   > > >  [<ffffffffae07b996>] warn_slowpath_fmt+0x46/0x50
>   > > >  [<ffffffffae0d0ec9>] lock_unpin_lock+0x109/0x110
>   > > >  [<ffffffffae7f93cc>] __schedule+0x3ac/0xb60
>   > > >  [<ffffffffae7f9c41>] schedule+0x41/0x90
>   > > >  [<ffffffffae7f9ff8>] schedule_preempt_disabled+0x18/0x30
>   > > >  [<ffffffffae7fbcef>] mutex_lock_nested+0x16f/0x3e0
>   > > >  [<ffffffffae69207f>] ? gov_queue_work+0x2f/0xf0
>   > > >  [<ffffffffae690ec7>] ? od_check_cpu+0x57/0xd0
>   > > >  [<ffffffffae69207f>] ? gov_queue_work+0x2f/0xf0
>   > > >  [<ffffffffae69207f>] gov_queue_work+0x2f/0xf0
>   > > >  [<ffffffffae6918dd>] od_dbs_timer+0xbd/0x150
>   >
>   > I don't know why this will happen. Just to confirm, you are getting
>   > this over 4.2-rc(1 or 2)? And you weren't getting these on 4.1 at all?
>   > And its always reproducible? How ?
>
> I've hit it once, on rc2.  I didn't have a lot of time for testing rc1.

Lock pinning is new in v4.2-rc1. Adding Peter just in case there's some 
insight.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

--
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