CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2021/09/05 05:44:46

Modified files:
        sys/arch/amd64/amd64: pmap.c 
        sys/arch/hppa/hppa: pmap.c 
        sys/arch/i386/i386: pmap.c 
        sys/kern       : vfs_bio.c vfs_biomem.c 
        sys/uvm        : uvm_object.c uvm_object.h uvm_page.c 

Log message:
Introduce dummy pagers for 'special' subsystems using UVM objects.

Some pmaps (x86, hppa) and the buffer cache rely on UVM objects to allocate
and manipulate pages.  These objects should not be manipulated by uvm_fault()
and do not currently require the same locking enforcement.

Use the dummy pagers to explicitly document which UVM functions are meant to
manipulate UVM objects (uobj) that do not need the upcoming `vmobjlock' and
instead still rely on the KERNEL_LOCK().

Tested by many as part of a larger diff.

ok kettenis@, beck@

Reply via email to