Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/common/include/linux kmem_cache is used at ...



details:   https://anonhg.NetBSD.org/src/rev/12899a4e3a16
branches:  trunk
changeset: 1028762:12899a4e3a16
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:58:09 2021 +0000

description:
kmem_cache is used at IPL_VM


Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/common/include/linux/slab.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 95a2eede73ad -r 12899a4e3a16 sys/external/bsd/common/include/linux/slab.h
--- a/sys/external/bsd/common/include/linux/slab.h      Sun Dec 19 11:58:02 2021 +0000
+++ b/sys/external/bsd/common/include/linux/slab.h      Sun Dec 19 11:58:09 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: slab.h,v 1.5 2021/12/19 11:58:02 riastradh Exp $       */
+/*     $NetBSD: slab.h,v 1.6 2021/12/19 11:58:09 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -182,7 +182,7 @@
 
        kc = kmem_alloc(sizeof(*kc), KM_SLEEP);
        kc->kc_pool_cache = pool_cache_init(size, align, 0, 0, name, palloc,
-           IPL_NONE, &kmem_cache_ctor, NULL, kc);
+           IPL_VM, &kmem_cache_ctor, NULL, kc);
        kc->kc_size = size;
        kc->kc_ctor = ctor;
 



Home | Main Index | Thread Index | Old Index