git: DragonFly_RELEASE_4_6 kernel - Add vfs.repurpose_enable, adjust B_HASBOGUS

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jul 23 21:00:56 PDT 2016


commit dfe9beaa09e77d03dbf40c3286ddbe69ff8beff2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jul 23 18:57:15 2016 -0700

    kernel - Add vfs.repurpose_enable, adjust B_HASBOGUS
    
    * Add vfs.repurpose_enable, default disabled.  If this feature is turned on
      the system will try to repurpose the VM pages underlying a buffer on
      re-use instead of allowing the VM pages to cycle into the VM page cache.
      Designed for high I/O-load environments.
    
    * Use the B_HASBOGUS flag to determine if a pmap_qenter() is required,
      and devolve the case to a single call to pmap_qenter() instead of one
      for each bogus page.

Summary of changes:
 sys/kern/vfs_bio.c     | 44 ++++++++++++++++++++++++++++----------------
 sys/kern/vfs_cluster.c |  5 ++++-
 2 files changed, 32 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dfe9beaa09e77d03dbf40c3286ddbe69ff8beff2


-- 
DragonFly BSD source repository



More information about the Commits mailing list