aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/scm.c
diff options
context:
space:
mode:
authorChao Yu <[email protected]>2025-07-10 07:36:18 +0000
committerGao Xiang <[email protected]>2025-07-10 09:08:27 +0000
commitd31fbdc4c7252846ea80235db8c1a8c932da9d39 (patch)
treef58caf37a103e75c366e8f651786e7ac2de4f91e /net/unix/scm.c
parenterofs: address D-cache aliasing (diff)
downloadkernel-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 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions