Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2006 21:32:30 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 103602 for review
Message-ID:  <200608102132.k7ALWU4W070226@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103602

Change 103602 by gonzo@gonzo_hq on 2006/08/10 21:32:26

	o Add "dirty" flag for pages mapped with pmap_kenter. It will 
	    prevent TLB modified exception from being raised while accessing
	    thread stack.
	Discussed with: cognet    

Affected files ...

.. //depot/projects/mips2/src/sys/mips/mips/pmap.c#7 edit

Differences ...

==== //depot/projects/mips2/src/sys/mips/mips/pmap.c#7 (text+ko) ====

@@ -643,7 +643,7 @@
 pmap_kenter(vm_offset_t va, vm_offset_t pa)
 {
 
-	tlb_enter(kernel_pmap, va, pa, PG_V | PG_W);
+	tlb_enter(kernel_pmap, va, pa, PG_V | PG_W | PG_D);
 }
 
 /*



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