Source-Changes archive

CVS commit: src/sys/uvm

To : source-changes%NetBSD.org@localhost

: Subject : CVS commit: src/sys/uvm

: From : "Maxime Villard" <maxv%netbsd.org@localhost>

: Date: Wed, 27 Jul 2016 16:45:00 +0000

Module Name: src Committed By: maxv Date: Wed Jul 27 16:45:00 UTC 2016 Modified Files: src/sys/uvm: uvm_km.c Log Message: Use UVM_PROT_ALL only if UVM_KMF_EXEC is given as argument. Otherwise, if UVM_KMF_PAGEABLE is also given as argument, only the VA is allocated and UVM waits for the page to fault before kentering it. When kentering it, it will use the UVM_PROT_ flag that was passed to uvm_map; which means that it will kenter it as RWX. With this change, the number of RWX pages in the amd64 kernel reaches strictly zero. To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/uvm/uvm_km.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.