public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: fenghua.yu@intel.com
Cc: "Brown, Len" <len.brown@intel.com>, LKML <linux-kernel@vger.kernel.org>
Subject: pkgtemp: double lock
Date: Sat, 04 Sep 2010 13:51:21 +0200	[thread overview]
Message-ID: <4C8232B9.2020005@gmail.com> (raw)

Hi,

stanse found that you double lock pdev_list_mutex:
  -> pkgtemp_device_remove
    -> mutex_lock(&pdev_list_mutex);
    -> pkgtemp_device_add
      -> mutex_lock(&pdev_list_mutex);

Could you fix that?

regards,
-- 
js

             reply	other threads:[~2010-09-04 11:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-04 11:51 Jiri Slaby [this message]
2010-09-04 17:08 ` pkgtemp: double lock Fenghua Yu

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=4C8232B9.2020005@gmail.com \
    --to=jirislaby@gmail.com \
    --cc=fenghua.yu@intel.com \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox