From owner-freebsd-ia32@FreeBSD.ORG Tue Sep 5 18:49:21 2006 Return-Path: X-Original-To: freebsd-ia32@freebsd.org Delivered-To: freebsd-ia32@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E95716A501 for ; Tue, 5 Sep 2006 18:49:21 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC3A143D5D for ; Tue, 5 Sep 2006 18:49:11 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k85ImtIi069407; Tue, 5 Sep 2006 14:49:09 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-ia32@freebsd.org Date: Tue, 5 Sep 2006 14:46:35 -0400 User-Agent: KMail/1.9.1 References: <29683db20609012326i351eb455ja3b0aade681c7773@mail.gmail.com> In-Reply-To: <29683db20609012326i351eb455ja3b0aade681c7773@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609051446.36261.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 05 Sep 2006 14:49:10 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1806/Tue Sep 5 11:00:48 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Bharath Bhushan Subject: Re: io apic question X-BeenThere: freebsd-ia32@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD on the IA-32 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 18:49:21 -0000 On Saturday 02 September 2006 02:26, Bharath Bhushan wrote: > I am looking at 4.9 sources. > > When the local apic is mapped into SMPpt in > sys/i386/i386/pmap.c:pmap_bootstrap(), it is mapped cache-disabled > (PG_N). > > When the IO apics are being mapped into SMPpt in > sys/i386/i386/mp_machdep.c:mptable_pass2(), it is *not* mapped > cache-disabled. > > Why is this difference? Probably a bug. > In 5.5, I see that ioapic_create() calls pmap_createdev(), which > allocates cache-enabled kind of mapping. > > Am I missing something here? In 7.0 we map them cache-disabled now. -- John Baldwin