m_getjcl for contiguous jumbo allocations

Aaditya Rai filesync at yahoo.com
Sat Feb 2 21:13:20 PST 2008


Hello,

I'm using release 6.2. I need to do allocations upto
8K which are physically contiguous.

Is m_getjcl the right call for this?

Also, if I use m_getjcl to do 4K allocations, after
two or three allocations I start getting cluster/mbuf
allocation failures; or weird memory corruptions. If I
change it to use MGETCL etc. and do 2K allocations,
the same code works fine. 

Is m_getjcl() stable in 6.2? Should I fall back on
implementing my own little backend contig-allocator?

Any response is highly appreciated.

Thanks.



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


More information about the freebsd-net mailing list