| Subject: workqueue-use-get-cpu-light.patch |
| From: Thomas Gleixner <tglx@linutronix.de> |
| Date: Sun, 17 Jul 2011 21:42:26 +0200 |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| --- |
| kernel/workqueue.c | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| Index: linux-stable/kernel/workqueue.c |
| =================================================================== |
| --- linux-stable.orig/kernel/workqueue.c |
| +++ linux-stable/kernel/workqueue.c |
| @@ -1067,8 +1067,8 @@ int queue_work(struct workqueue_struct * |
| { |
| int ret; |
| |
| - ret = queue_work_on(get_cpu(), wq, work); |
| - put_cpu(); |
| + ret = queue_work_on(get_cpu_light(), wq, work); |
| + put_cpu_light(); |
| |
| return ret; |
| } |