From: Pete Zaitcev <zaitcev@redhat.com>
To: adam@yggdrasil.com, linux-kernel@vger.kernel.org
Subject: Re: pci_alloc_consistent for small allocations?
Date: Mon, 3 Sep 2001 20:20:00 -0400 [thread overview]
Message-ID: <200109040020.f840K0e00860@devserv.devel.redhat.com> (raw)
In-Reply-To: <mailman.999443581.14164.linux-kernel2news@redhat.com>
In-Reply-To: <mailman.999443581.14164.linux-kernel2news@redhat.com>
> In looking at the ieee1394 OHCI driver, I noticed that it
> appears to make 104 calls to pci_alloc_consistent for data structures
> that are 16 or 64 bytes. Currently, on x86, pci_alloc_consistent
> allocates at least one full page per call, so it looks like the
> ohci1394 driver allocates 416kB per controller as a result of these
> data structures.
Sounds you are looking at a very obsolete codebase -or-
something backed out pci_pool_alloc()/pci_pool_free()
from the recent kernel...
If you can reproduce this on 2.4.8, send me a note
with detailed description of whatever you were doing
to get your number 104, I'll fix or disspel it.
-- Pete
next parent reply other threads:[~2001-09-04 0:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.999443581.14164.linux-kernel2news@redhat.com>
2001-09-04 0:20 ` Pete Zaitcev [this message]
2001-09-02 15:08 pci_alloc_consistent for small allocations? Adam J. Richter
2001-09-02 15:15 ` Russell King
2001-09-02 16:43 ` Johannes Erdfelt
2001-09-02 23:05 ` David S. Miller
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=200109040020.f840K0e00860@devserv.devel.redhat.com \
--to=zaitcev@redhat.com \
--cc=adam@yggdrasil.com \
--cc=linux-kernel@vger.kernel.org \
/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