git: drm: Implement vm_fault_quick_hold_pages and vm_page_unhold_pages

Francois Tigeot ftigeot at crater.dragonflybsd.org
Tue Jul 30 11:58:47 PDT 2013


commit d19f9abbcb9d32eaad69633706467318fc84cc40
Author: Johannes Hofmann <johannes.hofmann at gmx.de>
Date:   Tue Jul 23 14:08:46 2013 +0200

    drm: Implement vm_fault_quick_hold_pages and vm_page_unhold_pages
    
    Also call vm_page_busy_wait() before vm_page_unwire() to avoid
    page not busy asserts in vm_page_unwire() as recommended by dillon.

Summary of changes:
 sys/dev/drm2/drmP.h              | 13 +++++++++++--
 sys/dev/drm2/i915/i915_gem.c     | 10 ++++++++++
 sys/dev/drm2/i915/i915_gem_gtt.c |  1 +
 sys/vm/vm_extern.h               |  2 ++
 sys/vm/vm_fault.c                | 33 +++++++++++++++++++++++++++++++++
 sys/vm/vm_page.h                 |  5 -----
 6 files changed, 57 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d19f9abbcb9d32eaad69633706467318fc84cc40


-- 
DragonFly BSD source repository



More information about the Commits mailing list