Skip to content
Commit e4b60f29 authored by Chris Wilson's avatar Chris Wilson
Browse files

intel: Add an interface to limit vma caching



There is a per-process limit on the number of vma that the process can
keep open, so we cannot keep an unlimited cache of unused vma's (besides
keeping track of all those vma in the kernel adds considerable overhead).
However, in order to work around inefficiencies in the kernel it is
beneficial to reuse the vma, so keep a MRU cache of vma.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 902ee661
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment