git: kernel - add vm_contig_avail_pages() API

Matthew Dillon dillon at
Tue Jul 1 10:25:55 PDT 2014

commit 888a40a772a584cd2eeccb4143817c309f30b3ac
Author: Matthew Dillon <dillon at>
Date:   Tue Jul 1 10:23:36 2014 -0700

    kernel - add vm_contig_avail_pages() API
    * Add a function which DRM can query to determine how much more-easily-DMAd
      memory is available from our contiguous memmory pool, instead of assuming
      that it can gobble all 4GB of 'low' memory before it tries to swap.
    * This memory is typically set in /boot/loader.conf, like this:
      The default is ~16MB at the moment so users will generally want to increase

Summary of changes:
 sys/vm/vm_page.c | 17 +++++++++++++++++
 sys/vm/vm_page.h |  3 +++
 2 files changed, 20 insertions(+)

DragonFly BSD source repository

More information about the Commits mailing list