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

intel: Only store a buffer in the cache if it is retained.



If the kernel immediately frees the backing store for a buffer when
marking it purgeable, then there is not point adding to the cache. Free
it immediately, instead.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 6f66de98
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