As we grow the code, the compiler might make stupid decisions andThe patch looks good to me. Just curious: Is this change driven by code
unnecessarily degrade fork() performance. Let's make sure to always inline
functions that operate on a single PTE so the compiler will always
optimize out the loop and avoid a function call.
This is a preparation for maintining a total mapcount for large folios.
Signed-off-by: David Hildenbrand<david@xxxxxxxxxx>