kernel - Use soft-busy in vop_helper_read_shortcut()
commit969cb9ac744d6962dd23acc42c52bf418251987d
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 18 Oct 2017 06:40:29 +0000 (17 23:40 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 18 Oct 2017 06:40:29 +0000 (17 23:40 -0700)
tree84894c9a1974f7fa08ee021faa275c6fdd8d4a28
parent0c5ceff2867c71bf573ba43090853e2819c0e60d
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.
sys/kern/vfs_helper.c