From owner-freebsd-mips@FreeBSD.ORG Thu Jun 17 22:31:05 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C31B2106566C; Thu, 17 Jun 2010 22:31:05 +0000 (UTC) (envelope-from rrs@lakerest.net) Received: from lakerest.net (unknown [IPv6:2001:240:585:2:213:d4ff:fef3:2d8d]) by mx1.freebsd.org (Postfix) with ESMTP id 6BA7F8FC08; Thu, 17 Jun 2010 22:31:05 +0000 (UTC) Received: from [10.1.1.53] ([10.1.1.53]) (authenticated bits=0) by lakerest.net (8.14.3/8.14.3) with ESMTP id o5HMUv5H056202 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 17 Jun 2010 18:30:58 -0400 (EDT) (envelope-from rrs@lakerest.net) DKIM-Signature: a=rsa-sha1; c=simple/simple; d=lakerest.net; s=mail; t=1276813858; h=Cc:Message-Id:From:To:In-Reply-To:Content-Type: Content-Transfer-Encoding:Mime-Version:Subject:Date:References: X-Mailer; b=PQpbCFCUlS0PCvW6HisMi5kmEwae1LJgQjZKTfjJfJ/Z4qA1DuMjwX4 BKPRl6IP5L5bfHKPDnKTWhpEkBBAgHQ== Message-Id: <763BEBBB-B85A-44CE-BFEE-0BADEFF3C185@lakerest.net> From: Randall Stewart To: "M. Warner Losh" In-Reply-To: <20100617.110504.200754750200158040.imp@bsdimp.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 17 Jun 2010 18:30:56 -0400 References: <20100617.100235.195066307596264499.imp@bsdimp.com> <4B66E1A4-E2A5-471F-9FA4-38B506797272@lakerest.net> <20100617.110504.200754750200158040.imp@bsdimp.com> X-Mailer: Apple Mail (2.936) Cc: Alan Cox , freebsd-mips@freebsd.org Subject: Re: Merging 64 bit changes to -HEAD - part 2 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2010 22:31:05 -0000 On Jun 17, 2010, at 1:05 PM, M. Warner Losh wrote: > > > It was also a name-space collision, so we were using PG_x instead of > PG_y in the PTE code due to the overlap. Maybe it all works now, but > that was the motivation for the change. Yes, basically if I remember right someone used PG_GLOBAL instead of PG_G. This caused the wrong bits to be set. In general I think its a BAD idea to have two name spaces in the same section of the system (VM) that have similar define's that mean different things. Far better to KEEP the PTE_xxx or for that matter pick something else.. Just NOT PG_xxx R ------------------------------ Randall Stewart 803-317-4952 (cell)