Patch: allow concurrent faults on a single uvm_object

2020-03-15 Thread Andrew Doran
Hi, This address the problem with lock contention due to page faults on libc.so and other shared objects. It also allows for concurrent faults on shared amaps, for example PostgreSQL's shared buffer. The approach is: - Add a PGO_NOBUSY flag that has getpages return pages without busying them.

Re: libc.so's vmobjlock / v_interlock

2020-03-15 Thread Andrew Doran
On Tue, Jan 21, 2020 at 09:46:03PM +, Andrew Doran wrote: > - PV lists in the pmap need explicit locking (unless the pmap uses a global > lock, which is fine if it suits the machine). I have done the PV list > locking for x86 and it's in the patch. To follow up, the x86 changes are in an

Re: GENERIC_PAE kernel panics on netbsd-9

2020-03-15 Thread Andy Ruhl
On Mon, Mar 9, 2020 at 6:37 AM Andy Ruhl wrote: > > I recently upgraded to 9.0_STABLE using a snapshot from > nyftp.netbsd.org. This went fine. > > I then grabbed the netbsd-9 source tree from cvs and build a > GENERIC_PAE kernel. I made no changes to GENERIC or GENERIC_PAE. > > The result is a pa