git: kernel - Add vfs.repurpose_enable, adjust B_HASBOGUS

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jul 23 19:54:47 PDT 2016


commit ca88a24a2812a54364b719fab5019802ec6836fc
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/ca88a24a2812a54364b719fab5019802ec6836fc


-- 
DragonFly BSD source repository



More information about the Commits mailing list