git: kernel - Adjust emergency pager, add D_NOEMERGPGR

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Sep 8 08:50:15 PDT 2017


commit 32c821cfa9bc05a6e4411256cd9b34751f3322a3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Sep 8 08:42:06 2017 -0700

    kernel - Adjust emergency pager, add D_NOEMERGPGR
    
    * Adjust emergency pager and pager thread tests a little.  Allow the
      emergency pager to also page to VCHR devices as long as D_NOEMERGPGR
      is not flagged.
    
    * Add the D_NOEMERGPGR flag and apply to "vn" and "mfs" block devices.

Summary of changes:
 sys/dev/disk/vn/vn.c     |  5 +++--
 sys/kern/subr_disk.c     | 39 +++++++++++++++++++++++++++++++--------
 sys/sys/device.h         |  5 ++++-
 sys/sys/proc.h           |  4 +++-
 sys/vfs/mfs/mfs_vfsops.c |  2 +-
 sys/vm/swap_pager.c      |  5 ++++-
 sys/vm/vm_page.c         |  3 ++-
 sys/vm/vm_pageout.c      | 41 +++++++++++++++++++++++++++++++++++++----
 8 files changed, 85 insertions(+), 19 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/32c821cfa9bc05a6e4411256cd9b34751f3322a3


-- 
DragonFly BSD source repository



More information about the Commits mailing list