git: DragonFly_RELEASE_4_6 kernel - Cut buffer cache related pmap invalidations in half

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 25 14:35:34 PDT 2016


commit b9dcb64625bc3a52a0989742e47c7ee36c86dbf7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jul 24 21:52:26 2016 -0700

    kernel - Cut buffer cache related pmap invalidations in half
    
    * Do not bother to invalidate the TLB when tearing down a buffer
      cache buffer.  On the flip side, always invalidate the TLB
      (the page range in question) when entering pages into a buffer
      cache buffer.  Only applicable to normal VMIO buffers.
    
    * Significantly improves buffer cache / filesystem performance with
      no real risk.
    
    * Significantly improves performance for tmpfs teardowns on unmount
      (which typically have to tear-down a lot of buffer cache buffers).

Summary of changes:
 sys/kern/vfs_bio.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list