git: kernel - Add swap-backed kernel memory allocator API

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 26 15:54:19 PST 2015


commit 8ec5b2c920b2e0bb7332e15b9c3dc910b1d6284c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 26 15:46:25 2015 -0800

    kernel - Add swap-backed kernel memory allocator API
    
    * Add kmem_alloc_swapbacked() and kmem_free_swapbacked().  Allocates kernel
      memory which is pageable and backed by swap.

Summary of changes:
 sys/vm/vm_extern.h |  2 ++
 sys/vm/vm_kern.c   | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 sys/vm/vm_kern.h   | 14 ++++++++++++++
 3 files changed, 70 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8ec5b2c920b2e0bb7332e15b9c3dc910b1d6284c


-- 
DragonFly BSD source repository



More information about the Commits mailing list