Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2008 01:17:57 +0100
From:      Olivier Houchard <mlfbsd@ci0.org>
To:        Mark Tinguely <tinguely@casselton.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: ARM pmap cache flushed after PT modification.
Message-ID:  <20080117001757.GA63358@ci0.org>
In-Reply-To: <200801100031.m0A0VLgC015988@casselton.net>
References:  <200801081948.m08Jmpoa006156@casselton.net> <200801100031.m0A0VLgC015988@casselton.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 09, 2008 at 06:31:21PM -0600, Mark Tinguely wrote:
> 
> Using the same logic that the ARM ARM for pre-ARMv6 MMUs says the
> cache has to be written back and/or invalidated before making 
> changes to page table entries; pmap_remove_all() also forces the
> page table entry to NULL and I believe needs to be invalidated.
> 

Hi Mark,

I'm not sure this is needed, because we mark the page tables as write-through.
Also, I must miss something, because I understand why we should wb after doing
the changes, but why before ?

(And no, I didn't forget you, and I'll have a look at your work soon, honest).

Regards,

Olivier



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