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

intel: Free memory before inserting bo into cache.



This has the unfortunate behaviour of releasing our malloc cache, but
the alternative is for X to consume a couple of gigabytes of ram and
die during testing. Fortunately the extra mallocs have little impact on
performance whereas avoiding swap and death, lots.

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