Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2003 00:37:24 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Jeff Roberson <jroberson@chesapeake.net>, Gary Thorpe <gathorpe79@yahoo.com>, Julian Elischer <julian@elischer.org>, Peter Wemm <peter@wemm.org>, Dag-Erling Smorgrav <des@ofug.org>, <arch@FreeBSD.ORG>
Subject:   Re: New kernel allocation API 
Message-ID:  <200302080837.h188bOm1005459@apollo.backplane.com>
References:  <20030207205529.K72073-100000@mail.chesapeake.net> <200302080822.h188Mi15005276@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help

:    e.g. it is just (ptr & (128 * 1024 - 1)), and the slab header can 
:    contain the granularity for the slab.

   Oops.  I meant:  (ptr & ~(uintptr_t)(128 * 1024 - 1))

					-Matt


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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