git: ttm porting: Small changes (2/3)

Francois Tigeot ftigeot at crater.dragonflybsd.org
Thu Aug 8 11:31:54 PDT 2013


commit 7b95d6139e5c4e2da390fb685fcdf7a8bb3aeb36
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Wed Aug 7 11:47:43 2013 +0200

    ttm porting: Small changes (2/3)
    
    * Remove vm_page_lock() and vm_page_unlock()
    
    * vm_page_busy() => vm_page_busy_try()
    
    * Replace kern_yield() by lwkt_yield()
    
    * Remove vm_page_sleep() calls
    
    * vm_pager_allocate() => swap_pager_alloc()
    
    * vm_pager_get_pages() => vm_pager_get_page()
    
    * Fix vm_pager_has_page() call

Summary of changes:
 sys/dev/drm2/ttm/ttm_bo_vm.c | 12 +++++-------
 sys/dev/drm2/ttm/ttm_tt.c    | 13 ++++++++-----
 2 files changed, 13 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7b95d6139e5c4e2da390fb685fcdf7a8bb3aeb36


-- 
DragonFly BSD source repository


More information about the Commits mailing list