Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/linux Make Linux workqueues a...



details:   https://anonhg.NetBSD.org/src/rev/c122739b01d9
branches:  riastradh-drm2
changeset: 788576:c122739b01d9
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Dec 30 04:50:57 2013 +0000

description:
Make Linux workqueues at IPL_VM for now.

diffstat:

 sys/external/bsd/drm2/linux/linux_work.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d22cdac75c13 -r c122739b01d9 sys/external/bsd/drm2/linux/linux_work.c
--- a/sys/external/bsd/drm2/linux/linux_work.c  Mon Dec 30 04:50:48 2013 +0000
+++ b/sys/external/bsd/drm2/linux/linux_work.c  Mon Dec 30 04:50:57 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_work.c,v 1.1.2.5 2013/12/30 04:50:48 riastradh Exp $     */
+/*     $NetBSD: linux_work.c,v 1.1.2.6 2013/12/30 04:50:57 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_work.c,v 1.1.2.5 2013/12/30 04:50:48 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_work.c,v 1.1.2.6 2013/12/30 04:50:57 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -116,7 +116,7 @@
 
        wq = kmem_alloc(sizeof(*wq), KM_SLEEP);
        error = workqueue_create(&wq->wq_workqueue, name, &linux_worker,
-           wq, PRI_NONE, IPL_NONE, flags);
+           wq, PRI_NONE, IPL_VM, flags);
        if (error) {
                kmem_free(wq, sizeof(*wq));
                return NULL;



Home | Main Index | Thread Index | Old Index