diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-19 22:17:45 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-28 21:06:49 +0000 |
commit | 6be2dc8ddfa332d129149aa3b13db14fa2cd6c0a (patch) | |
tree | 732ce1f224a22f059f26c0c2a2de78bf518c8a6c /man/intel_upload_blit_large.rst | |
parent | 0f0db14e7f4ec41251ca156d7cb5b8d531a38006 (diff) |
lib: Incrementally mlock()
As we already have the previous portion of the mmap mlocked, we only
need to mlock() the fresh portion for testing available memory.
v2: Fixup the uint64_t pointer arithmetric and only use a single mmap to
avoid subsequent mlock fail (for reasons unknown, but bet on mm/).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Caz Yokoyama <Caz.Yokoyama@intel.com>
Reviewed-by: Caz Yokoyama <Caz.Yokoyama@intel.com>
Diffstat (limited to 'man/intel_upload_blit_large.rst')
0 files changed, 0 insertions, 0 deletions