PR/60522 CVS commit: src/sys/uvm/pmap
"Nick Hudson" <[email protected]> Mon, 3 Aug 2026 15:55:02 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR kern/60522; it has been noted by GNATS. From: "Nick Hudson" <[email protected]> To: [email protected] Cc: Subject: PR/60522 CVS commit: src/sys/uvm/pmap Date: Mon, 3 Aug 2026 15:52:35 +0000 Module Name: src Committed By: skrll Date: Mon Aug 3 15:52:35 UTC 2026 Modified Files: src/sys/uvm/pmap: pmap.c Log Message: 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.107 -r1.108 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.