Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sdmmc Increase kthread priority to PRI_SOFTBIO.



details:   https://anonhg.NetBSD.org/src/rev/3c6e9bd66f3c
branches:  trunk
changeset: 445627:3c6e9bd66f3c
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Nov 06 16:01:38 2018 +0000

description:
Increase kthread priority to PRI_SOFTBIO.

diffstat:

 sys/dev/sdmmc/sdmmc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 81337e6146af -r 3c6e9bd66f3c sys/dev/sdmmc/sdmmc.c
--- a/sys/dev/sdmmc/sdmmc.c     Tue Nov 06 09:43:25 2018 +0000
+++ b/sys/dev/sdmmc/sdmmc.c     Tue Nov 06 16:01:38 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdmmc.c,v 1.35 2018/03/06 07:41:55 mlelstv Exp $       */
+/*     $NetBSD: sdmmc.c,v 1.36 2018/11/06 16:01:38 jmcneill Exp $      */
 /*     $OpenBSD: sdmmc.c,v 1.18 2009/01/09 10:58:38 jsg Exp $  */
 
 /*
@@ -49,7 +49,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdmmc.c,v 1.35 2018/03/06 07:41:55 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdmmc.c,v 1.36 2018/11/06 16:01:38 jmcneill Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_sdmmc.h"
@@ -246,7 +246,7 @@
 {
        struct sdmmc_softc *sc = device_private(dev);
 
-       if (kthread_create(PRI_BIO, 0, NULL,
+       if (kthread_create(PRI_SOFTBIO, 0, NULL,
            sdmmc_task_thread, sc, &sc->sc_tskq_lwp, "%s", device_xname(dev))) {
                aprint_error_dev(dev, "couldn't create task thread\n");
        }



Home | Main Index | Thread Index | Old Index