Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2006 14:46:35 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-ia32@freebsd.org
Cc:        Bharath Bhushan <bharath.bhushan@gmail.com>
Subject:   Re: io apic question
Message-ID:  <200609051446.36261.jhb@freebsd.org>
In-Reply-To: <29683db20609012326i351eb455ja3b0aade681c7773@mail.gmail.com>
References:  <29683db20609012326i351eb455ja3b0aade681c7773@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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