Linus Torvalds writes: (Summary)
But part of it is also that we should fall back to the slow case if
the fast case doesn't work (eg because the page isn't there or
whatever).
whatever).
So what we could do - perhaps - is to just make get_user_pages_fast() check whether any of the protection key bits are set, and fail for that case.
that case.
If we care, that is.
If we care, that is.
Linus
Linus
Linus
whatever).
So what we could do - perhaps - is to just make get_user_pages_fast() check whether any of the protection key bits are set, and fail for that case.
that case.
If we care, that is.
If we care, that is.
Linus
Linus
Linus