Messages in this thread Patch in this message | | | Date | Mon, 29 Jul 2013 14:24:12 +0800 | From | Shaohua Li <> | Subject | [patch]workqueue: copy attr with all fields. |
| |
copy_workqueue_attrs() forgets to copy no_numa field.
Signed-off-by: Shaohua Li <shli@fuisonio.com>
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 0b72e81..a988f54 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -3411,6 +3411,7 @@ static void copy_workqueue_attrs(struct workqueue_attrs *to, { to->nice = from->nice; cpumask_copy(to->cpumask, from->cpumask); + to->no_numa = from->no_numa; } /* hash value of the content of @attr */
| |