git: kernel - Remove B_MALLOC

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Oct 16 11:30:33 PDT 2017


commit 8158299a83675ea3ad75b3abbd51d55cadc73aae
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 30 12:14:21 2017 -0700

    kernel - Remove B_MALLOC
    
    * Remove B_MALLOC buffer support.  All primary buffer cache buffer
      operations should now use pages.  B_VMIO is required for all
      vnode-centric operations like allocbuf(), but does not have to be set
      for nominal I/O.
    
    * Remove vm_hold_load_pages() and vm_hold_free_pages().  This code was
      used to support mapping ad-hoc data buffers into buf structures, but
      the only remaining use case in the CAM periph code can just use
      getpbuf_mem() instead.  So this code is no longer used.

Summary of changes:
 sys/bus/cam/cam_periph.c |  13 +-
 sys/kern/kern_physio.c   |  10 +-
 sys/kern/vfs_bio.c       | 522 ++++++++++++++++-------------------------------
 sys/kern/vfs_cluster.c   |  11 +-
 sys/sys/buf.h            |   7 +-
 5 files changed, 183 insertions(+), 380 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8158299a83675ea3ad75b3abbd51d55cadc73aae


-- 
DragonFly BSD source repository



More information about the Commits mailing list