Home
last modified time | relevance | path

Searched refs:mm_shrinker (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/ttm/
H A Dttm_pool.c76 static struct shrinker *mm_shrinker; variable
770 seq_printf(m, "%lu/%lu\n", ttm_pool_shrinker_count(mm_shrinker, &sc), in ttm_pool_debugfs_shrink_show()
771 ttm_pool_shrinker_scan(mm_shrinker, &sc)); in ttm_pool_debugfs_shrink_show()
815 mm_shrinker = shrinker_alloc(0, "drm-ttm_pool"); in ttm_pool_mgr_init()
816 if (!mm_shrinker) in ttm_pool_mgr_init()
819 mm_shrinker->count_objects = ttm_pool_shrinker_count; in ttm_pool_mgr_init()
820 mm_shrinker->scan_objects = ttm_pool_shrinker_scan; in ttm_pool_mgr_init()
821 mm_shrinker->seeks = 1; in ttm_pool_mgr_init()
823 shrinker_register(mm_shrinker); in ttm_pool_mgr_init()
845 shrinker_free(mm_shrinker); in ttm_pool_mgr_fini()
/linux/drivers/gpu/drm/omapdrm/
H A DTODO5 . Use mm_shrinker to trigger unpinning pages.