diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-10 17:33:15 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-11 22:55:48 +0000 |
commit | 809b63349ce6eb6603e7dab482c642f28135a2db (patch) | |
tree | e267d1640e6323cbbd93b7786973cf3f67d9c76c /fs/pnode.c | |
parent | 092de6f225638ec300936bfcbdc67805733cc78c (diff) | |
download | kernel_samsung_aries-809b63349ce6eb6603e7dab482c642f28135a2db.zip kernel_samsung_aries-809b63349ce6eb6603e7dab482c642f28135a2db.tar.gz kernel_samsung_aries-809b63349ce6eb6603e7dab482c642f28135a2db.tar.bz2 |
drm/i915: If we hit OOM when allocating GTT pages, clear the aperture
Rather than evicting an object at random, which is unlikely to alleviate
the memory pressure sufficient to allow us to continue, zap the entire
aperture. That should give the system long enough to recover and reap
some pages from the evicted objects, forestalling the allocation error
for the new object.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'fs/pnode.c')
0 files changed, 0 insertions, 0 deletions