diff options
| author | Davidlohr Bueso <[email protected]> | 2018-01-22 17:21:37 +0000 |
|---|---|---|
| committer | Tony Luck <[email protected]> | 2018-03-05 22:43:45 +0000 |
| commit | 69c907022a7d9325cdc5c9dd064571e445df9a47 (patch) | |
| tree | 459e3c517dfe66d0058a41106092dbfd957d3abe /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | ia64: doc: tweak whitespace for 'console=' parameter (diff) | |
| download | kernel-69c907022a7d9325cdc5c9dd064571e445df9a47.tar.gz kernel-69c907022a7d9325cdc5c9dd064571e445df9a47.zip | |
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 <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
