NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60522 CVS commit: [netbsd-11] src/sys/uvm/pmap



The following reply was made to PR kern/60522; it has been noted by GNATS.

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60522 CVS commit: [netbsd-11] src/sys/uvm/pmap
Date: Fri, 18 Sep 2026 16:41:41 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Fri Sep 18 16:41:40 UTC 2026
 
 Modified Files:
 	src/sys/uvm/pmap [netbsd-11]: pmap.c
 
 Log Message:
 Pull up following revision(s) (requested by skrll in ticket #472):
 
 	sys/uvm/pmap/pmap.c: revision 1.100
 	sys/uvm/pmap/pmap.c: revision 1.101
 	sys/uvm/pmap/pmap.c: revision 1.98
 	sys/uvm/pmap/pmap.c: revision 1.99
 	sys/uvm/pmap/pmap.c: revision 1.108
 	sys/uvm/pmap/pmap.c: revision 1.87
 
 Fix two EXECness issues
 - when creating a WX mapping via pmap_enter mark the page as EXEC
 - when pmap_protect adds X then ensure that pmap_page_syncicache is called
   for the page.
 
 Whitespace
 
 Code re-org. Add a comment.
 NFCI.
 
 mi pmap: pmap_clear_attribute should check cached value of the attribute
 
 The pmap_clear_attribute implementation used by the MI pmap should
 check the cached valued of the attribute as well as any value held
 in the PTE(s).
 
 Some emulation implementations require this as some operations, e.g
 changing page mappings to RO, can lose PTE attribute information.
 mi pmap: capture PTE (HW updated) referenced and modified bits
 
 When removing a page mapping or changing its protection capture any
 HW updated referenced and modified bits.
 
 PR/60522: evbppc/RB800 hits MI pmap KASSERT failure
 
 Revert the pmap_protect part of
     Fix two EXECness issues
     - when creating a WX mapping via pmap_enter mark the page as EXEC
     - when pmap_protect adds X then ensure that pmap_page_syncicache is called
       for the page.
 
 It seems that pmap_pte_protect is designed to remove a protection and not
 add it.
 
 For the module loading the text is indeed mapped eXecute initially, and
 cache maintenance is currently handled by kobj_machdep and not the pmap.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.80.4.2 -r1.80.4.3 src/sys/uvm/pmap/pmap.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index