diff options
| author | Zhi Wang <[email protected]> | 2016-11-29 14:55:16 +0800 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-11-29 09:29:56 +0000 |
| commit | a18dbba8f01ffae229d00517994f84e7bfad4c49 (patch) | |
| tree | 49b07927475dbd07128155ce0364ee27291c0f86 /tools/perf/scripts/python/bin/netdev-times-record | |
| parent | ddbb271aea87fc6004d3c8bcdb0710e980c7ec85 (diff) | |
drm/i915: Move the release of PT page to the upper caller
a PT page will be released if it doesn't contain any meaningful mappings
during PPGTT page table shrinking. The PT entry in the upper level will
be set to a scratch entry.
Normally this works nicely, but in virtualization world, the PPGTT page
table is tracked by hypervisor. Releasing the PT page before modifying
the upper level PT entry would cause extra efforts.
As the tracked page has been returned to OS before losing track from
hypervisor, it could be written in any pattern. Hypervisor has to recognize
if a page is still being used as a PT page by validating these writing
patterns. It's complicated. Better let the guest modify the PT entry in
upper level PT first, then release the PT page.
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Michał Winiarski <[email protected]>
Cc: Michał Winiarski <[email protected]>
Cc: Michel Thierry <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Zhenyu Wang <[email protected]>
Cc: Zhiyuan Lv <[email protected]>
Signed-off-by: Zhi Wang <[email protected]>
Link: https://patchwork.freedesktop.org/patch/122697/msgid/[email protected]
Signed-off-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/netdev-times-record')
0 files changed, 0 insertions, 0 deletions