On Wed, May 12, 2021 at 05:38:29PM +0000, Sean Christopherson wrote:
Alternatively, and probably even better, fold this revert into the switch to the unchecked version (sounds like those will use kernel-specific flavors?).
I folded this revert into the previous commit. But I kept the __get_user()/__put_user() calls and just added a comment explaining why they are used and why it is safe to use them.
After all, even the get_kernel*() functions call __get_user_size() under the hood.
Regards,
Joerg