Commit 520b4a44 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds
Browse files

mm: mark the page referenced in gup_hugepte

All other get_user_page_fast cases mark the page referenced, so do this
here as well.


Signed-off-by: default avatarChristoph Hellwig <>
Cc: Andrey Konovalov <>
Cc: Benjamin Herrenschmidt <>
Cc: David Miller <>
Cc: James Hogan <>
Cc: Jason Gunthorpe <>
Cc: Khalid Aziz <>
Cc: Michael Ellerman <>
Cc: Nicholas Piggin <>
Cc: Paul Burton <>
Cc: Paul Mackerras <>
Cc: Ralf Baechle <>
Cc: Rich Felker <>
Cc: Yoshinori Sato <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 01a36916
......@@ -2020,6 +2020,7 @@ static int gup_hugepte(pte_t *ptep, unsigned long sz, unsigned long addr,
return 0;
return 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment