]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/memory.c: Use vma_lookup() in __access_remote_vm()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 1 Mar 2021 19:30:38 +0000 (14:30 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 10 May 2021 16:39:28 +0000 (12:39 -0400)
commit04f30f59a26662b33086ff2ab4699e70c7e97964
treeca14e885109e17a9d9f7a782eba1b3a0dd7fc4b5
parent042a43daf91d79c83c7402eb771f397e468e3eb7
mm/memory.c: Use vma_lookup() in __access_remote_vm()

Use vma_lookup() to find the VMA at a specific address.  As vma_lookup()
will return NULL if the address is not within any VMA, the start address
no longer needs to be validated.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/memory.c