Skip to content
Commit 69c90702 authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Tony Luck
Browse files

ia64/err-inject: Use get_user_pages_fast()



At the point of sysfs callback, the call to gup is
done without mmap_sem (or any lock for that matter).
This is racy. As such, use the get_user_pages_fast()
alternative and safely avoid taking the lock, if possible.

Signed-off-by: default avatarDavidlohr Bueso <dbueso@suse.de>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 339d541a
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