From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Arjan van de Ven <arjan@linux.intel.com>
Cc: Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, mingo@redhat.com,
arjanv@redhat.com, Linux Portal <linportal@gmail.com>
Subject: Re: [patch] Declare explicit, hardware based lock ranking in serio
Date: Sat, 3 Jun 2006 07:56:39 -0400 [thread overview]
Message-ID: <200606030756.39861.dtor_core@ameritech.net> (raw)
In-Reply-To: <1149324621.3109.16.camel@laptopd505.fenrus.org>
On Saturday 03 June 2006 04:50, Arjan van de Ven wrote:
> > Thanks.
> >
> > So we're taking ps2->cmd_mutex and then we're recurring back into
> > ps2_command() and then taking ps2->serio->cmd_mutex.
> >
> > I suspect that's all correct/natural/expected and needs another
> > make-lockdep-shut-up patch.
>
>
> The PS/2 code has a natural device order and there is a one level
> recursion in this device order in terms of the cmd_mutex; annotate
> this explicit recursion as ok
>
It is not necessarily single depth - one could have 2 or more pass-through
ports chained together, although currently in kernel we only have Synaptics
pass-through. If we were ever to implement pass-through port for IBMs
trackpoints then we'd have:
Synaptics<->pass-through<->TP<->pass-through<->some mouse
--
Dmitry
next prev parent reply other threads:[~2006-06-03 11:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-02 16:53 Kernel lock bug detected (kseriod) Linux Portal
2006-06-02 23:13 ` Andrew Morton
2006-06-03 1:52 ` Dmitry Torokhov
2006-06-03 8:50 ` [patch] Declare explicit, hardware based lock ranking in serio Arjan van de Ven
2006-06-03 11:56 ` Dmitry Torokhov [this message]
2006-06-03 12:11 ` Arjan van de Ven
2006-06-03 16:11 ` Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200606030756.39861.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=akpm@osdl.org \
--cc=arjan@linux.intel.com \
--cc=arjanv@redhat.com \
--cc=linportal@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.