]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
erofs: use HIPRI by default if per-cpu kthreads are enabled
authorGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 22 May 2023 09:21:41 +0000 (17:21 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 23 May 2023 08:57:08 +0000 (16:57 +0800)
commitcf7f2732b4b83026842832e7e4e04bf862108ac2
treea70d1913917fbf102ec690d9fbfce360e05f11f3
parent285d0f85dae6510aea31416c72670ded54fc4b0c
erofs: use HIPRI by default if per-cpu kthreads are enabled

As Sandeep shown [1], high priority RT per-cpu kthreads are
typically helpful for Android scenarios to minimize the scheduling
latencies.

Switch EROFS_FS_PCPU_KTHREAD_HIPRI on by default if
EROFS_FS_PCPU_KTHREAD is on since it's the typical use cases for
EROFS_FS_PCPU_KTHREAD.

Also clean up unneeded sched_set_normal().

[1] https://lore.kernel.org/r/CAB=BE-SBtO6vcoyLNA9F-9VaN5R0t3o_Zn+FW8GbO6wyUqFneQ@mail.gmail.com

Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Sandeep Dhavale <dhavale@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230522092141.124290-1-hsiangkao@linux.alibaba.com
fs/erofs/Kconfig
fs/erofs/zdata.c