From owner-freebsd-hackers Fri Aug 28 07:09:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA20796 for freebsd-hackers-outgoing; Fri, 28 Aug 1998 07:09:34 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA20791 for ; Fri, 28 Aug 1998 07:09:30 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id QAA06852 for freebsd-hackers@FreeBSD.ORG; Fri, 28 Aug 1998 16:07:15 +0200 (MET DST) Received: from semyam.dinoco.de (semyam.dinoco.de [127.0.0.1]) by semyam.dinoco.de (8.9.1/8.8.8) with ESMTP id KAA02200; Fri, 28 Aug 1998 10:30:49 +0200 (CEST) (envelope-from seggers@semyam.dinoco.de) Message-Id: <199808280830.KAA02200@semyam.dinoco.de> To: freebsd-hackers@FreeBSD.ORG cc: seggers@semyam.dinoco.de Subject: zinitna (vm/vm_zone.c) use in kernel Date: Fri, 28 Aug 1998 10:30:48 +0200 From: Stefan Eggers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! While reading the VM source I noticed that zinitna uses the supplied object when it is given the flag ZONE_INTERRUPT in some way. So far, so good. Now I took a look at where it gets called and how. That brought me to vm_init2 in vm/vm_map.c where it gets called three times. Two times w/o ZONE_INTERRUPT but with an object. As I don't see where the flag gets set I think they are useless. Did I overlook something or are the two affected vm_object structures really not used because of this? Or was it the intention to be able to use an object one day for the non-interrupt cases, too and the functionality is not implemented in vm_zone.c, yet? Stefan. -- Stefan Eggers Lu4 yao2 zhi1 ma3 li4, Max-Slevogt-Str. 1 ri4 jiu3 jian4 ren2 xin1. 51109 Koeln Federal Republic of Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message