diff options
| author | Jens Axboe <[email protected]> | 2024-04-02 18:12:18 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-04-10 22:23:04 +0000 |
| commit | fbe38120eb1dec94280d0381ce4aea52c44367b1 (patch) | |
| tree | 4af6446af26ebfe51fe2da7cc22a7fc36fafcc1f /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
| parent | userfaultfd: convert to ->read_iter() (diff) | |
| download | kernel-fbe38120eb1dec94280d0381ce4aea52c44367b1.tar.gz kernel-fbe38120eb1dec94280d0381ce4aea52c44367b1.zip | |
signalfd: convert to ->read_iter()
Rather than use the older style ->read() hook, use ->read_iter() so that
signalfd can support both O_NONBLOCK and IOCB_NOWAIT for non-blocking
read attempts.
Split the fd setup into two parts, so that signalfd can mark the file
mode with FMODE_NOWAIT before installing it into the process table.
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
