diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-02 13:36:22 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-02 14:29:23 +0000 |
commit | 57473c7f523f476ffa54c34e0c6312ffa66dcc5c (patch) | |
tree | d670ad58335b2d7483bb4b12ebb645f74ba4a0cb /tests/name_from_fd.c | |
parent | 792fed1e2460f96459141b5a628dd5ab4fbb87db (diff) |
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: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/name_from_fd.c')
0 files changed, 0 insertions, 0 deletions