aboutsummaryrefslogtreecommitdiff
path: root/mm/cma_sysfs.c
diff options
context:
space:
mode:
authorGravatar Jens Axboe <axboe@kernel.dk> 2024-03-11 13:30:43 -0600
committerGravatar Jens Axboe <axboe@kernel.dk> 2024-03-11 15:02:59 -0600
commit6f0974eccbf78baead1735722c4f1ee3eb9422cd (patch)
tree3c9671fc62324bcbf0d6090747e14277b7a9ab31 /mm/cma_sysfs.c
parentMerge tag 'cgroup-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/t... (diff)
downloadlinux-6f0974eccbf78baead1735722c4f1ee3eb9422cd.tar.gz
linux-6f0974eccbf78baead1735722c4f1ee3eb9422cd.tar.bz2
linux-6f0974eccbf78baead1735722c4f1ee3eb9422cd.zip
io_uring: don't save/restore iowait state
This kind of state is per-syscall, and since we're doing the waiting off entering the io_uring_enter(2) syscall, there's no way that iowait can already be set for this case. Simplify it by setting it if we need to, and always clearing it to 0 when done. Fixes: 7b72d661f1f2 ("io_uring: gate iowait schedule on having pending requests") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/cma_sysfs.c')
0 files changed, 0 insertions, 0 deletions