Andrew, if you're ok with the patch below, could it be routed
your way?
Thanks,
Davidlohr
On Mon, 22 Jan 2018, Davidlohr Bueso wrote:
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()
Andrew, if you're ok with the patch below, could it be routed
your way?
Thanks,
Davidlohr
On Mon, 22 Jan 2018, Davidlohr Bueso wrote:
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()
ping
On Mon, 22 Jan 2018, Davidlohr Bueso wrote:
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
ping
On Mon, 22 Jan 2018, Davidlohr Bueso wrote:
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
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
---
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
---
arch/ia64/kernel/err_inject.c | 2 +-
1 file
6 matches
Mail list logo