diff options
author | Thomas Hellstrom <[email protected]> | 2014-12-02 03:32:24 -0800 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2014-12-03 00:48:14 -0800 |
commit | 1f563a6a46544602183e7493b6ef69769d3d76d9 (patch) | |
tree | 1709bb7a43770826db00b2fe8718063a05fea50a /tools/perf/scripts/python/sched-migration.py | |
parent | e338c4c2b620ba4e75fd3576f8142eb93be12ce3 (diff) |
drm/vmwgfx: Don't use memory accounting for kernel-side fence objects
Kernel side fence objects are used when unbinding resources and may thus be
created as part of a memory reclaim operation. This might trigger recursive
memory reclaims and result in the kernel running out of stack space.
So a simple way out is to avoid accounting of these fence objects.
In principle this is OK since while user-space can trigger the creation of
such objects, it can't really hold on to them. However, their lifetime is
quite long, so some form of accounting should perhaps be implemented in the
future.
Fixes kernel crashes when running, for example viewperf11 ensight-04 test 3
with low system memory settings.
Cc: <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Jakob Bornecrantz <[email protected]>
Reviewed-by: Sinclair Yeh <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions