From owner-freebsd-arch Sat Feb 8 0:37:29 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63ABC37B401 for ; Sat, 8 Feb 2003 00:37:28 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1C8643FAF for ; Sat, 8 Feb 2003 00:37:27 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.6/8.12.6) with ESMTP id h188bPSJ005460; Sat, 8 Feb 2003 00:37:25 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.6/8.12.6/Submit) id h188bOm1005459; Sat, 8 Feb 2003 00:37:24 -0800 (PST) Date: Sat, 8 Feb 2003 00:37:24 -0800 (PST) From: Matthew Dillon Message-Id: <200302080837.h188bOm1005459@apollo.backplane.com> To: Jeff Roberson , Gary Thorpe , Julian Elischer , Peter Wemm , Dag-Erling Smorgrav , Subject: Re: New kernel allocation API References: <20030207205529.K72073-100000@mail.chesapeake.net> <200302080822.h188Mi15005276@apollo.backplane.com> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG : 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