From owner-freebsd-net@FreeBSD.ORG Sun Feb 3 05:13:20 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C48DB16A421 for ; Sun, 3 Feb 2008 05:13:20 +0000 (UTC) (envelope-from filesync@yahoo.com) Received: from web32211.mail.mud.yahoo.com (web32211.mail.mud.yahoo.com [68.142.207.142]) by mx1.freebsd.org (Postfix) with SMTP id 6FC2413C45B for ; Sun, 3 Feb 2008 05:13:20 +0000 (UTC) (envelope-from filesync@yahoo.com) Received: (qmail 29309 invoked by uid 60001); 3 Feb 2008 04:46:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=4pif8Xx48J8Gs2FXuoHEkdjG9MKMvF8sxK76GaKRRbq2u4UeDTzyG8V+vAlF9umldmlmomh4gACvaEbajHgl2fcwfTCOOWNF9v/GhwID1FCKHOnv74oeVF1bxPTXHp6TNjL87mYG7JybIX9AWUuWATTsy0hyo70L32WgSiNdq88=; X-YMail-OSG: HcDfh1YVM1lhKBy7cMNq4aAtNed1mcqW1Xx0d5TPwX5y5PMmDrv61XLpDq.ApwcQRTzwqkLUVdQOGCyVJNJXpuYLi51m.96oKxkIzji4DOR50YhK1w4- Received: from [122.167.100.187] by web32211.mail.mud.yahoo.com via HTTP; Sat, 02 Feb 2008 20:46:38 PST Date: Sat, 2 Feb 2008 20:46:38 -0800 (PST) From: Aaditya Rai To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <659520.27857.qm@web32211.mail.mud.yahoo.com> Subject: m_getjcl for contiguous jumbo allocations X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2008 05:13:20 -0000 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