Satya Durga Srinivasu Prabhala
5ef98409cc
sched/fair: Prevent false-positive lockdep warnings
Below warnings are observed during boot when lockdep is enabled
due to double_lock_balance usage. Fix the warnings by disabling lockdep
checks before double_lock_balance call and enable it after
double_unlock_balance call.
[ 0.180233] ------------[ cut here ]------------
[ 0.180241] releasing a pinned lock
[ 0.180271] WARNING: CPU: 0 PID: 17 at kernel/locking/lockdep.c:3676 \
lock_release+0x30c/0x328
[ 0.181279] Call trace:
[ 0.181286] lock_release+0x30c/0x328
[ 0.181298] _raw_spin_unlock+0x28/0x60
[ 0.181307] detach_task+0x74/0x130
[ 0.181316] active_load_balance_cpu_stop+0x48c/0x520
[ 0.181327] cpu_stopper_thread+0xac/0x150
[ 0.181337] smpboot_thread_fn+0x1c8/0x2e8
[ 0.181346] kthread+0x11c/0x130
[ 0.181356] ret_from_fork+0x10/0x1c
[ 0.181447] ------------[ cut here ]------------
[ 0.181453] unpinning an unpinned lock
[ 0.181467] WARNING: CPU: 0 PID: 17 at kernel/locking/lockdep.c:3791 \
lock_unpin_lock+0xcc/0xf0
[ 0.182453] Call trace:
[ 0.182460] lock_unpin_lock+0xcc/0xf0
[ 0.182468] active_load_balance_cpu_stop+0x288/0x520
[ 0.182475] cpu_stopper_thread+0xac/0x150
[ 0.182482] smpboot_thread_fn+0x1c8/0x2e8
[ 0.182488] kthread+0x11c/0x130
[ 0.182495] ret_from_fork+0x10/0x1c.
Change-Id: I8113e7f7d01d2e84609e35563b507aea90236e70
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2019-12-13 08:53:45 -08:00
..
2019-10-07 19:13:17 +02:00
2019-08-20 04:52:51 -07:00
2019-04-03 06:59:52 -07:00
2019-03-21 16:19:55 -07:00
2019-08-20 04:54:15 -07:00
2019-05-23 15:53:58 -07:00
2019-09-30 03:33:08 -07:00
2019-10-07 18:55:09 +02:00
2019-10-25 05:30:35 -07:00
2019-10-21 11:18:21 +05:30
2019-10-11 05:19:38 -07:00
2019-07-23 11:00:08 -07:00
2019-12-13 08:53:45 -08:00
2019-10-25 05:30:35 -07:00
2019-10-25 05:30:35 -07:00
2019-06-12 12:34:50 +00:00
2018-01-10 09:31:17 +01:00
2018-02-16 20:23:05 +01:00
2018-09-26 08:38:09 +02:00
2018-05-30 07:52:39 +02:00
2019-05-31 06:47:25 -07:00
2018-08-06 16:20:49 +02:00
2018-11-13 11:15:08 -08:00
2019-04-09 11:30:45 -07:00
2019-04-01 14:35:59 +05:30
2018-01-09 12:24:03 -08:00
2019-07-30 09:02:37 -07:00
2018-01-17 09:45:27 +01:00
2019-07-31 07:28:58 +02:00
2019-03-21 16:19:55 -07:00
2019-10-11 18:18:42 +02:00
2019-08-20 04:52:51 -07:00
2019-10-25 05:30:35 -07:00
2019-05-10 17:53:15 +02:00
2019-06-12 12:35:12 +00:00
2017-12-20 10:10:18 +01:00
2019-06-25 03:05:18 -07:00
2018-12-05 19:41:17 +01:00
2019-09-21 07:56:17 +02:00
2019-01-02 17:05:33 +08:00
2018-08-03 07:50:22 +02:00
2019-10-07 18:55:23 +02:00
2019-06-12 12:35:03 +00:00
2019-10-05 12:48:01 +02:00
2018-08-09 11:57:44 -07:00
2019-06-19 11:44:54 +02:00
2019-01-13 10:01:02 +01:00
2019-09-30 03:33:08 -07:00
2019-07-31 07:28:39 +02:00
2019-10-25 05:30:35 -07:00
2019-07-31 07:28:21 +02:00
2019-07-10 09:54:38 +02:00
2019-03-13 14:03:20 -07:00
2018-06-29 09:25:17 -07:00
2018-05-22 18:54:04 +02:00
2019-07-23 11:00:15 -07:00
2019-03-01 11:14:23 -08:00
2018-09-20 15:41:08 +05:30
2019-03-07 12:46:30 +05:30
2018-09-10 09:32:36 -07:00
2019-07-23 11:00:29 -07:00
2019-02-05 17:36:19 -07:00
2019-11-08 11:06:13 +05:30
2017-12-25 14:26:21 +01:00
2019-03-25 12:40:29 +05:30
2018-05-09 09:51:50 +02:00
2017-12-20 10:10:18 +01:00
2018-09-09 19:56:00 +02:00
2018-04-12 13:00:33 -07:00
2018-09-09 19:56:00 +02:00
2018-09-05 09:26:42 +02:00
2018-10-17 13:06:42 -07:00
2019-03-21 16:19:56 -07:00
2019-05-15 07:44:57 -07:00