xa_pool is protected by xa_lock mtx so drop pool ipl to IPL_NONE
authorjsg <jsg@openbsd.org>
Thu, 20 Jan 2022 06:33:03 +0000 (06:33 +0000)
committerjsg <jsg@openbsd.org>
Thu, 20 Jan 2022 06:33:03 +0000 (06:33 +0000)
sys/dev/pci/drm/drm_linux.c

index 6b7eb4e..b9bd039 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: drm_linux.c,v 1.87 2022/01/20 03:43:31 jsg Exp $      */
+/*     $OpenBSD: drm_linux.c,v 1.88 2022/01/20 06:33:03 jsg Exp $      */
 /*
  * Copyright (c) 2013 Jonathan Gray <jsg@openbsd.org>
  * Copyright (c) 2015, 2016 Mark Kettenis <kettenis@openbsd.org>
@@ -910,7 +910,7 @@ xa_init_flags(struct xarray *xa, gfp_t flags)
        static int initialized;
 
        if (!initialized) {
-               pool_init(&xa_pool, sizeof(struct xarray_entry), 0, IPL_TTY, 0,
+               pool_init(&xa_pool, sizeof(struct xarray_entry), 0, IPL_NONE, 0,
                    "xapl", NULL);
                initialized = 1;
        }