OSDN Git Service

intel: Evict cached VMA in order to make room for new mappings
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 6 Dec 2011 13:12:37 +0000 (13:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 6 Dec 2011 21:45:55 +0000 (21:45 +0000)
commitdd9a5b4f7fb07c78db4e7481bedca1b981030e3f
treeabb275eb64a2f25ed819b5c91edbbe6528301950
parente4b60f29609e9993dc7268993da509530862aa78
intel: Evict cached VMA in order to make room for new mappings

As the max number of VMA mappings is a hard per-process limit, we need
to include the number of currently active mappings when evicting in
order to make room for a new mmap.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
intel/intel_bufmgr_gem.c