Source-Changes-HG archive

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

[src/trunk]: src/sys/kern for bmempools set align, not ioff



details:   https://anonhg.NetBSD.org/src/rev/4578d6c1ba25
branches:  trunk
changeset: 1009061:4578d6c1ba25
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Apr 11 14:48:19 2020 +0000

description:
for bmempools set align, not ioff

diffstat:

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

diffs (27 lines):

diff -r fc4ab0d824c1 -r 4578d6c1ba25 sys/kern/vfs_bio.c
--- a/sys/kern/vfs_bio.c        Sat Apr 11 14:38:26 2020 +0000
+++ b/sys/kern/vfs_bio.c        Sat Apr 11 14:48:19 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_bio.c,v 1.292 2020/04/11 14:38:26 jdolecek Exp $   */
+/*     $NetBSD: vfs_bio.c,v 1.293 2020/04/11 14:48:19 jdolecek Exp $   */
 
 /*-
  * Copyright (c) 2007, 2008, 2009, 2019, 2020 The NetBSD Foundation, Inc.
@@ -123,7 +123,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.292 2020/04/11 14:38:26 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.293 2020/04/11 14:48:19 jdolecek Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_bufcache.h"
@@ -513,7 +513,7 @@
                pa = (size <= PAGE_SIZE && use_std)
                        ? &pool_allocator_nointr
                        : &bufmempool_allocator;
-               pool_init(pp, size, 0, DEV_BSIZE, 0, name, pa, IPL_NONE);
+               pool_init(pp, size, DEV_BSIZE, 0, 0, name, pa, IPL_NONE);
                pool_setlowat(pp, 1);
                pool_sethiwat(pp, 1);
        }



Home | Main Index | Thread Index | Old Index