Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Remove unneeded PR_NOALIGN, pool_allocator_kmem is ...



details:   https://anonhg.NetBSD.org/src/rev/3f9051da9080
branches:  trunk
changeset: 449861:3f9051da9080
user:      maxv <maxv%NetBSD.org@localhost>
date:      Tue Mar 26 20:05:18 2019 +0000

description:
Remove unneeded PR_NOALIGN, pool_allocator_kmem is already page-aligned.

diffstat:

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

diffs (27 lines):

diff -r eed7146afb96 -r 3f9051da9080 sys/kern/subr_kmem.c
--- a/sys/kern/subr_kmem.c      Tue Mar 26 18:31:30 2019 +0000
+++ b/sys/kern/subr_kmem.c      Tue Mar 26 20:05:18 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_kmem.c,v 1.73 2019/02/04 15:13:54 maxv Exp $      */
+/*     $NetBSD: subr_kmem.c,v 1.74 2019/03/26 20:05:18 maxv Exp $      */
 
 /*-
  * Copyright (c) 2009-2015 The NetBSD Foundation, Inc.
@@ -92,7 +92,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_kmem.c,v 1.73 2019/02/04 15:13:54 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_kmem.c,v 1.74 2019/03/26 20:05:18 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_kmem.h"
@@ -403,7 +403,7 @@
                const char *name = array[i].kc_name;
                size_t cache_size = array[i].kc_size;
                struct pool_allocator *pa;
-               int flags = PR_NOALIGN;
+               int flags = 0;
                pool_cache_t pc;
                size_t align;
 



Home | Main Index | Thread Index | Old Index