public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Driver-level memory management
@ 2007-08-12  3:14 Michael Bourgeous
  2007-08-12  5:04 ` Paul Mundt
  2007-08-13  0:37 ` Ingo Oeser
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Bourgeous @ 2007-08-12  3:14 UTC (permalink / raw)
  To: linux-kernel

Hello everyone,

I'm working on a driver for older HDTV cards based on the TL880 chip.
These cards typically have 16MB of their own memory, which is
available to me over the PCI bus.  Various functions of the card
require me to manage this memory, allocating and freeing chunks of it
as necessary.  I can easily include my own allocation and management
code, but I'm sure this is a problem that has been solved before.
I've found two interesting sets of functions, the kmem_cache_* and
mempool_* functions, but neither does quite what I'm looking for.  So,
in a sentence, my question is this: Does the kernel provide memory
pool functions that would allow me to call the appropriate equivalent
of kmalloc/kfree, using the card's memory as the pool instead of
actually allocating physical or virtual memory?

By the way, I am not subscribed to the LKML, so please include my
address in any responses.

Thanks,
Mike Bourgeous
http://myhd.sf.net/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-13  0:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-12  3:14 Driver-level memory management Michael Bourgeous
2007-08-12  5:04 ` Paul Mundt
2007-08-13  0:37 ` Ingo Oeser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox