[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MBUF memory allocation



I want to enable instruction and data caching on the MPC860. But the

buffers
that are used for the CPM shouldn't be cached. It looks

like m_clalloc is
where they are allocated for TCP/IP, right?

Should I modify m_clalloc or
kmem_malloc (since it handles the

mbuf clusters specially) or is there a
better way?



What I want to do is have one area in memory (probably 512K
since

that's the most convenient page size) that all of the CPM buffers

get
allocated from. That way I can enable caching on the rest

of the
RAM.



Thanks.