From: Pete Zaitcev <zaitcev@redhat.com>
To: david-b@pacbell.net
Cc: johannes@erdfelt.com, zaitcev@redhat.com, rmk@arm.linux.org.uk,
linux-kernel@vger.kernel.org
Subject: pci_pool_free from IRQ
Date: Tue, 8 May 2001 17:01:14 -0400 [thread overview]
Message-ID: <20010508170114.A29075@devserv.devel.redhat.com> (raw)
David,
Russel King complained that you might be calling pci_consistent_free
from an interrupt, which is unsafe on ARM. Why don't you remove this
part from pci_pool_free():
+ else if (!is_page_busy (pool->blocks_per_page, page->bitmap))
+ pool_free_page (pool, page);
In that case, fully free pages will stick about until the whole
pool is destroyed, which I think is not a big deal.
-- Pete
next reply other threads:[~2001-05-08 21:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-08 21:01 Pete Zaitcev [this message]
2001-05-08 21:08 ` pci_pool_free from IRQ Albert D. Cahalan
2001-05-08 21:39 ` Alan Cox
2001-05-08 21:55 ` David S. Miller
2001-05-08 22:38 ` David Brownell
2001-05-09 0:52 ` David S. Miller
2001-05-09 3:09 ` David Brownell
2001-05-09 18:30 ` Pete Zaitcev
2001-05-09 19:27 ` David S. Miller
2001-05-10 20:05 ` Pete Zaitcev
2001-05-11 17:37 ` David Brownell
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=20010508170114.A29075@devserv.devel.redhat.com \
--to=zaitcev@redhat.com \
--cc=david-b@pacbell.net \
--cc=johannes@erdfelt.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
/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