Thread (12 messages) flat view 12 messages, 5 authors, 2001-03-23

Proposed new kernel noncaching memory allocator for the 405gp

From: Ralph Blach <hidden>
Date: 2001-03-22 15:34:03

David,

This is what I propose,

I propose a kmalloc_noncache and a kfree_noncached.

These would be module and would be loaded when necessary.  They would
operate allocating say 16k (could be any size)  of memory during boot
time
and then mapping it non cached.  The the kmalloc_noncached routine would

carve out little chucks of it and the free routine would release it.  It

would also have a noncached to real routine
to return the real address of a noncached section.

Does this sound interesting?

Chip




David Blythe wrote:
Ralph Blach wrote:
quoted
David,

Do you have USB working from on OHCI pci card?

Would a kmalloc_nocache and kfree_cache be useful to you?

Chip
I think something more general then pci_alloc_consistent would be
better
for devices that are not pci based.  We are still working on getting a
pci OHCI usb to work with the walnut card and are running into a lot
of
cache coherency problems.
        david
--
Ralph "Chip" Blach
KF4WBK
Chapel Hill, North Carolina



--
Ralph "Chip" Blach
KF4WBK
Chapel Hill, North Carolina


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help