summaryrefslogtreecommitdiffstats
path: root/arch/arc/include
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2018-01-22 09:21:37 -0800
committerTony Luck <tony.luck@intel.com>2018-03-05 14:43:45 -0800
commit69c907022a7d9325cdc5c9dd064571e445df9a47 (patch)
tree459e3c517dfe66d0058a41106092dbfd957d3abe /arch/arc/include
parent339d541a01f70b247f7e6266c1110aa3cef56b9f (diff)
downloadop-kernel-dev-69c907022a7d9325cdc5c9dd064571e445df9a47.zip
op-kernel-dev-69c907022a7d9325cdc5c9dd064571e445df9a47.tar.gz
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: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/arc/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud