diff options
| author | Chao Yu <[email protected]> | 2025-07-10 07:36:18 +0000 |
|---|---|---|
| committer | Gao Xiang <[email protected]> | 2025-07-10 09:08:27 +0000 |
| commit | d31fbdc4c7252846ea80235db8c1a8c932da9d39 (patch) | |
| tree | f58caf37a103e75c366e8f651786e7ac2de4f91e /lib/crypto/mpi/mpi-add.c | |
| parent | erofs: address D-cache aliasing (diff) | |
| download | kernel-d31fbdc4c7252846ea80235db8c1a8c932da9d39.tar.gz kernel-d31fbdc4c7252846ea80235db8c1a8c932da9d39.zip | |
erofs: allow readdir() to be interrupted
In a quick slow device, readdir() may loop for long time in large
directory, let's give a chance to allow it to be interrupted by
userspace.
Signed-off-by: Chao Yu <[email protected]>
Reviewed-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Gao Xiang: move cond_resched() to the end of the while loop. ]
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
