public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: sameo@linux.intel.com
Cc: LKML <linux-kernel@vger.kernel.org>,
	laforge@openezx.org, drwyrm@gmail.com
Subject: MFD: mutex from ISR in ezx-pcap?
Date: Mon, 29 Jun 2009 21:34:54 +0200	[thread overview]
Message-ID: <4A49175E.3020409@gmail.com> (raw)

Hi,

pcap_adc_irq tries to perform non-atomic operations in ISR which is not
allowed. Above that, it may deadlock.

Since all the operations there (read, write, mutex locking) may sleep,
any objections to convert the ISR contents to a workqueue?

             reply	other threads:[~2009-06-29 19:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-29 19:34 Jiri Slaby [this message]
2009-06-29 20:20 ` MFD: mutex from ISR in ezx-pcap? Daniel Ribeiro
2009-06-29 22:11   ` Jiri Slaby
2009-06-30  8:57     ` Daniel Ribeiro
2009-07-01  6:56       ` Jiri Slaby

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=4A49175E.3020409@gmail.com \
    --to=jirislaby@gmail.com \
    --cc=drwyrm@gmail.com \
    --cc=laforge@openezx.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox