aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r--kernel/workqueue.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 0611de815a8f..87693b37d017 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -290,18 +290,11 @@ static int worker_thread(void *__cwq)
290 struct cpu_workqueue_struct *cwq = __cwq; 290 struct cpu_workqueue_struct *cwq = __cwq;
291 DEFINE_WAIT(wait); 291 DEFINE_WAIT(wait);
292 struct k_sigaction sa; 292 struct k_sigaction sa;
293 sigset_t blocked;
294 293
295 if (!cwq->wq->freezeable) 294 if (!cwq->wq->freezeable)
296 current->flags |= PF_NOFREEZE; 295 current->flags |= PF_NOFREEZE;
297 296
298 set_user_nice(current, -5); 297 set_user_nice(current, -5);
299
300 /* Block and flush all signals */
301 sigfillset(&blocked);
302 sigprocmask(SIG_BLOCK, &blocked, NULL);
303 flush_signals(current);
304
305 /* 298 /*
306 * We inherited MPOL_INTERLEAVE from the booting kernel. 299 * We inherited MPOL_INTERLEAVE from the booting kernel.
307 * Set MPOL_DEFAULT to insure node local allocations. 300 * Set MPOL_DEFAULT to insure node local allocations.