linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Proposed new kernel noncaching memory allocator for the 405gp
@ 2001-03-22 15:34 Ralph Blach
  2001-03-22 16:32 ` Dan Malek
  2001-03-22 19:24 ` Proposed new kernel noncaching memory allocator for the 405gp Frank Rowand
  0 siblings, 2 replies; 15+ messages in thread
From: Ralph Blach @ 2001-03-22 15:34 UTC (permalink / raw)
  To: linuxppc-embedded, David Blythe


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:
> >
> > 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/

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

end of thread, other threads:[~2001-03-25  1:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-22 15:34 Proposed new kernel noncaching memory allocator for the 405gp Ralph Blach
2001-03-22 16:32 ` Dan Malek
2001-03-22 17:46   ` Ralph Blach
2001-03-22 18:27     ` Dan Malek
2001-03-23 14:14       ` Kernel Dumps Brad Bonkoski
2001-03-23 15:10         ` Wolfgang Denk
2001-03-22 19:24 ` Proposed new kernel noncaching memory allocator for the 405gp Frank Rowand
2001-03-22 19:50   ` Dan Malek
2001-03-22 20:57   ` Ralph Blach
2001-03-22 21:14     ` Frank Rowand
2001-03-22 21:23     ` Dan Malek
2001-03-22 22:06       ` acmay
2001-03-22 22:18       ` Ralph Blach
2001-03-25  1:42     ` Brad Parker
2001-03-22 23:04   ` andrew may

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).