diff options
| author | Thomas Hellstrom (VMware) <[email protected]> | 2020-03-24 17:48:33 +0000 |
|---|---|---|
| committer | Thomas Hellstrom (VMware) <[email protected]> | 2020-03-24 17:48:33 +0000 |
| commit | 314b6580adc543cf21a1a84bce9c6a58a8dcb38c (patch) | |
| tree | e9110e42d9de5609f3795b406976d769f25532e1 /tools/perf/util/python.c | |
| parent | mm: Add vmf_insert_pfn_xxx_prot() for huge page-table entries (diff) | |
| download | kernel-314b6580adc543cf21a1a84bce9c6a58a8dcb38c.tar.gz kernel-314b6580adc543cf21a1a84bce9c6a58a8dcb38c.zip | |
drm/ttm, drm/vmwgfx: Support huge TTM pagefaults
Support huge (PMD-size and PUD-size) page-table entries by providing a
huge_fault() callback.
We still support private mappings and write-notify by splitting the huge
page-table entries on write-access.
Note that for huge page-faults to occur, either the kernel needs to be
compiled with trans-huge-pages always enabled, or the kernel needs to be
compiled with trans-huge-pages enabled using madvise, and the user-space
app needs to call madvise() to enable trans-huge pages on a per-mapping
basis.
Furthermore huge page-faults will not succeed unless buffer objects and
user-space addresses are aligned on huge page size boundaries.
Cc: Andrew Morton <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: "Matthew Wilcox (Oracle)" <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Ralph Campbell <[email protected]>
Cc: "Jérôme Glisse" <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: Dan Williams <[email protected]>
Signed-off-by: Thomas Hellstrom (VMware) <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
