mm: Fix failure to unmap pte on highmem systems
The loser of a race to service a pte for a device private entry in the swap path previously unlocked the ptl, but failed to unmap the pte. This only affects highmem systems since unmapping a pte is a noop on non-highmem systems. Fixes: 16ce101d ("mm/memory.c: fix race when faulting a device private page") Signed-off-by:Ryan Roberts <ryan.roberts@arm.com> Reviewed-by:
Zi Yan <ziy@nvidia.com> Reviewed-by:
Mike Rapoport (IBM) <rppt@kernel.org>
Loading
Please register or sign in to comment