From: Johannes Erdfelt <johannes@erdfelt.com>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Inefficient PCI DMA usage (was: [experimental patch] UHCI updates)
Date: Sat, 20 Jan 2001 13:08:49 -0500 [thread overview]
Message-ID: <20010120130848.I9156@sventech.com> (raw)
In-Reply-To: <3A69D235.F1EE4CA6@colorfullife.com>
In-Reply-To: <3A69D235.F1EE4CA6@colorfullife.com>; from Manfred Spraul on Sat, Jan 20, 2001 at 07:00:21PM +0100
On Sat, Jan 20, 2001, Manfred Spraul <manfred@colorfullife.com> wrote:
> >
> > TD's are around 32 bytes big (actually, they may be 48 or even 64 now, I
> > haven't checked recently). That's a waste of space for an entire page.
> >
> > However, having every driver implement it's own slab cache seems a
> > complete waste of time when we already have the code to do so in
> > mm/slab.c. It would be nice if we could extend the generic slab code to
> > understand the PCI DMA API for us.
> >
> I missed the beginning of the thread:
>
> What are the exact requirements for TD's?
> I have 3 tiny updates for mm/slab.c that I'll send to Linus as soon as
> 2.4 has stabilized a bit more, perhaps I can integrate the code for USB.
They need to be visible via DMA. They need to be 16 byte aligned. We
also have QH's which have similar requirements, but we don't use as many
of them.
JE
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-01-20 18:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-20 18:00 Inefficient PCI DMA usage (was: [experimental patch] UHCI updates) Manfred Spraul
2001-01-20 18:08 ` Johannes Erdfelt [this message]
2001-01-20 23:15 ` Russell King
2001-01-21 8:36 ` Manfred Spraul
2001-01-21 10:51 ` Russell King
2001-01-21 11:49 ` Manfred Spraul
2001-01-21 17:37 ` Johannes Erdfelt
2001-01-21 23:11 ` Russell King
[not found] <3A691043.F18CA6CA@megapathdsl.net>
2001-01-20 5:38 ` Johannes Erdfelt
2001-01-20 8:28 ` Russell King
2001-01-20 17:34 ` Johannes Erdfelt
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=20010120130848.I9156@sventech.com \
--to=johannes@erdfelt.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.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