[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0609140227500.22181@twin.jikos.cz>
Date: Thu, 14 Sep 2006 02:44:01 +0200 (CEST)
From: Jiri Kosina <jikos@...os.cz>
To: Andrew Morton <akpm@...l.org>,
Dmitry Torokhov <dmitry.torokhov@...il.com>
cc: lkml <linux-kernel@...r.kernel.org>,
Arjan van de Ven <arjan@...radead.org>,
Dave Jones <davej@...hat.com>
Subject: [PATCH 0/3] Synaptics - fix lockdep warnings
Hi,
the following three patches fix two lockdep warnings I am receiving with
2.6.18-rc6-mm2 (but at least the first one has been already discussed in
the times of 2.6.17, reported by Dave Jones) and I can see the problem in
current mainline source too).
* [1/3] fixes this:
=============================================
[ INFO: possible recursive locking detected ]
2.6.18-rc6-mm2-dirty #4
---------------------------------------------
kseriod/140 is trying to acquire lock:
(&ps2dev->cmd_mutex/1){--..}, at: [<c02b973b>] ps2_command+0x5b/0x3a0
but task is already holding lock:
(&ps2dev->cmd_mutex/1){--..}, at: [<c02b973b>] ps2_command+0x5b/0x3a0
* [2/3] adds support for spin_lock_irqsave_nested(), which is needed by
[3/3]
* [3/3] fixes this:
=============================================
[ INFO: possible recursive locking detected ]
2.6.18-rc6-mm2-dirty #7
---------------------------------------------
swapper/0 is trying to acquire lock:
(&serio->lock){++..}, at: [<c02b7a20>] serio_interrupt+0x20/0x60
but task is already holding lock:
(&serio->lock){++..}, at: [<c02b7a20>] serio_interrupt+0x20/0x60
All three patches are based against 2.6.18-rc6-mm2, I can rebase them
against mainline, if needed.
Both warnings have been solved by splitting the respective functions to
nested and non-nested variants, and calling them from synpatics driver as
appropriate.
--
JiKos.
-
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