Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2008 20:46:38 -0800 (PST)
From:      Aaditya Rai <filesync@yahoo.com>
To:        freebsd-net@freebsd.org
Subject:   m_getjcl for contiguous jumbo allocations
Message-ID:  <659520.27857.qm@web32211.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?659520.27857.qm>