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

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jul 24 22:01:18 PDT 2016


commit 2d1b280fd7290751e4da3171a396ae301829790f
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/2d1b280fd7290751e4da3171a396ae301829790f


-- 
DragonFly BSD source repository



More information about the Commits mailing list