From: "Gérard Roudier" <groudier@free.fr>
To: Daniel Stodden <stodden@in.tum.de>
Cc: "David S. Miller" <davem@redhat.com>, <alan@lxorguk.ukuu.org.uk>,
<zaitcev@redhat.com>, Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: pci_pool reap?
Date: Mon, 11 Feb 2002 22:10:44 +0100 (CET) [thread overview]
Message-ID: <20020211220922.I1867-100000@gerard> (raw)
In-Reply-To: <1013528224.2240.245.camel@bitch>
So, everything is ok. :-)
Gérard.
On 12 Feb 2002, Daniel Stodden wrote:
> hi.
>
> On Tue, 2002-02-12 at 03:44, David S. Miller wrote:
> > From: Gérard Roudier <groudier@free.fr>
> > Date: Sun, 10 Feb 2002 21:20:05 +0100 (CET)
> >
> > On Mon, 11 Feb 2002, Alan Cox wrote:
> >
> > > This function may not be called in interrupt context.
> >
> > Such limitation looks poor implementation to me.
> >
> > I agree with you Gerard, and probably nobody truly even requires
> > this limitation. I do plan to remove it after I've done a thorough
> > investigation of the platform implementations.
>
> ok, i've looked through most of 2.5.4 now.
> results look like this:
>
> pci_alloc_consistent() pci_free_consistent()
> i386:
> [1] ok ok
>
> ppc:
> [1] ok ok
>
> mips:
> [1] ok ok
>
> sh:
> [1] ok ok
> stm: [1] ok ok
> dc: [3] ok ok
>
> mips64:
> ip32: [1] ok ok
> ip27: [1] ok ok
>
> sparc:
> [1] GFP_KERNEL ok
> sparc64:
> [2] ok ok
>
> arm: [4] BUG()/GFP_KERNEL BUG()
>
> alpha:
> [2] ok ok
>
> ia64: [5] ok? ok?
>
>
> [1]
> gfp() + __pa() (or similar)
>
> [2]
> gfp() + IOMMU
>
> [3]
> dummy, offsets only
>
> [4]
> ARM does GFP_KERNEL, and then __ioremaps the underlying pages.
> ugh. is that the only way to get the area coherent?
> furthermore i don't see why this could not be interrupt safe.
>
> [5]
> i don't understand ia64. but it looks somewhat atomic :)
>
> well, assuming i didn't oversee anything, there are indeed few reasons
> left why the whole _consistent() machinery shouldn't be callable from
> interrupts.
>
> back to my original question: what were the last trees with shrinking
> pools? would the original version still work or any redesigns needed?
>
>
> regards,
> dns
>
> --
> ___________________________________________________________________________
> mailto:stodden@in.tum.de
>
>
next prev parent reply other threads:[~2002-02-12 20:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1013388420.27877.linux-kernel2news@redhat.com>
2002-02-11 2:49 ` Pete Zaitcev
2002-02-11 3:12 ` Alan Cox
2002-02-10 20:20 ` Gérard Roudier
2002-02-12 15:36 ` Daniel Stodden
2002-02-11 21:10 ` Gérard Roudier [this message]
2002-02-12 21:14 ` Daniel Stodden
2002-02-12 15:48 ` Russell King
2002-02-12 15:50 ` David S. Miller
2002-02-12 15:59 ` Russell King
2002-02-12 17:27 ` Daniel Stodden
2002-02-12 2:44 ` David S. Miller
2002-02-11 20:34 ` Gérard Roudier
2002-02-12 15:49 ` David S. Miller
2002-02-11 0:44 Daniel Stodden
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=20020211220922.I1867-100000@gerard \
--to=groudier@free.fr \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stodden@in.tum.de \
--cc=zaitcev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®