git: kernel - Use soft-busy in vop_helper_read_shortcut()

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 18 09:49:25 PDT 2017


commit 969cb9ac744d6962dd23acc42c52bf418251987d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Oct 17 23:40:29 2017 -0700

    kernel - Use soft-busy in vop_helper_read_shortcut()
    
    * Use a soft-busy for related VM pages in vop_helper_read_shortcut().
      This prevents locking conflicts related to concurrent read() operation
      from causing the routine to abort.
    
      Related software can run optimized I/O from related VM pages
      concurrently without conflict.  This occurs in particular with
      the concurrent exec*() of dynamic executables.

Summary of changes:
 sys/kern/vfs_helper.c | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/969cb9ac744d6962dd23acc42c52bf418251987d


-- 
DragonFly BSD source repository


More information about the Commits mailing list