[PATCH 0/4] *** fix memory leak for HUGE PAGE ***

Roger He Hongbo.He at amd.com
Tue Nov 21 09:32:18 UTC 2017


1. add page order into pool to support gtt huge page
2. add page order support when ttm pages put
3. update memory shrinker with order handling


Roger He (4):
  drm/ttm: add page order in page pool
  drm/ttm: use NUM_PAGES_TO_ALLOC always
  drm/ttm: add page order support in ttm_pages_put
  drm/ttm: free one in huge pool even shrink request less than one
    element

 drivers/gpu/drm/ttm/ttm_page_alloc.c | 80 ++++++++++++++++++++++++++----------
 1 file changed, 59 insertions(+), 21 deletions(-)

-- 
2.7.4



More information about the amd-gfx mailing list