From: Matthew Wilcox <matthew@wil.cx>
To: Tony Battersby <tonyb@cybernetics.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Warning: sym53c8xx calls dma_free_coherent() with irqs disabled
Date: Tue, 22 Jan 2008 12:17:02 -0700 [thread overview]
Message-ID: <20080122191702.GN27250@parisc-linux.org> (raw)
In-Reply-To: <4796339D.2010506@cybernetics.com>
On Tue, Jan 22, 2008 at 01:19:09PM -0500, Tony Battersby wrote:
> When unloading, sym53c8xx calls dma_free_coherent() while holding a
> spinlock (sym53c8xx_lock) with irqs disabled, which produces the
> following warning with 2.6.24:
Ugh. I'm slightly torn. On the one hand, it's probably possible to
fix sym_malloc. On the other hand, it's really long past time that
sym2 dropped its custom allocator and started using dma pools.
I'll take a look at converting to dma pools once I've got half a dozen
other projects that're higher priority out of the way ;-(
In any case thanks for the report.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
prev parent reply other threads:[~2008-01-22 19:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-22 18:19 Warning: sym53c8xx calls dma_free_coherent() with irqs disabled Tony Battersby
2008-01-22 19:17 ` Matthew Wilcox [this message]
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=20080122191702.GN27250@parisc-linux.org \
--to=matthew@wil.cx \
--cc=linux-scsi@vger.kernel.org \
--cc=tonyb@cybernetics.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;
as well as URLs for NNTP newsgroup(s).