Commit 086a377e authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman
Browse files

sysfs: file.c: use create_singlethread_workqueue()

We don't need a kernel thread per CPU for this application.
Acked-by: default avatarAlex Chiang <>
Cc: Lai Jiangshan <>
Cc: Peter Zijlstra <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent b5c42bc8
......@@ -723,7 +723,7 @@ int sysfs_schedule_callback(struct kobject *kobj, void (*func)(void *),
if (sysfs_workqueue == NULL) {
sysfs_workqueue = create_workqueue("sysfsd");
sysfs_workqueue = create_singlethread_workqueue("sysfsd");
if (sysfs_workqueue == NULL) {
return -ENOMEM;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment