Skip to content
Commit 14dbe3a7 authored by Mike Rapoport's avatar Mike Rapoport Committed by Andrei Vagin
Browse files

lazy-pages: do not treat VMAs that have MAP_LOCKED as lazy



When a VMA is mapped with MAP_LOCKED it is address space is populated with
pages which causes UFFDIO_COPY to return -EXISTS. Until we can find some
better solution let's avoid marking VMAs with MAP_LOCKED as lazy.

Fixes: #238

travis-ci: success for lazy-pages: misc fixes (rev3)
Signed-off-by: default avatarMike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent a29f84a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment