We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee4bf86 commit 0e62ea3Copy full SHA for 0e62ea3
fs/erofs/zdata.c
@@ -43,13 +43,13 @@ void z_erofs_exit_zip_subsystem(void)
43
static inline int z_erofs_init_workqueue(void)
44
{
45
const unsigned int onlinecpus = num_possible_cpus();
46
- const unsigned int flags = WQ_UNBOUND | WQ_HIGHPRI | WQ_CPU_INTENSIVE;
47
48
/*
49
* no need to spawn too many threads, limiting threads could minimum
50
* scheduling overhead, perhaps per-CPU threads should be better?
51
*/
52
- z_erofs_workqueue = alloc_workqueue("erofs_unzipd", flags,
+ z_erofs_workqueue = alloc_workqueue("erofs_unzipd",
+ WQ_UNBOUND | WQ_HIGHPRI,
53
onlinecpus + onlinecpus / 4);
54
return z_erofs_workqueue ? 0 : -ENOMEM;
55
}
0 commit comments