lkml.org 
[lkml]   [2005]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectReusing the slab allocator
We need a memory manager for the VRAM on video cards. The most common
video cards have been 2MB and 512MB memory. Is it possible to reuse
the kernel slab allocator for managing this memory?

There are a couple of other odd constraints.
1) Some objects need to be allocated on boundaries, like 64B or even
1KB divisible addresses.
2) It would be best if the allocation bookkeeping data structures were
kept in system RAM. It may not be simple to access VRAM for read/write
of bookkeeping info. VRAM can require slow PCI cycles or need high
mem mappings to access.

If possible I'd rather reuse an existing manager than write a new one.

--
Jon Smirl
jonsmirl@gmail.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-10 18:31    [W:0.330 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site