projects
/
cascardo
/
kernel
/
samples
/
workqueue
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use single threaded work queue.
[cascardo/kernel/samples/workqueue/.git]
/
block_wq.c
diff --git
a/block_wq.c
b/block_wq.c
index
751728c
..
c05b974
100644
(file)
--- a/
block_wq.c
+++ b/
block_wq.c
@@
-46,7
+46,7
@@
static DECLARE_WORK(print_work, work_print);
static int block_wq_init(void)
{
- block_wq = create_workqueue("block_wq");
+ block_wq = create_
singlethread_
workqueue("block_wq");
if (!block_wq)
return -ENOMEM;
printk(KERN_INFO "Queueing task in CPU %d\n", get_cpu());