Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic reduce admin queue size to save memory; it's only...
details: https://anonhg.NetBSD.org/src/rev/cb17562e0f0b
branches: trunk
changeset: 818804:cb17562e0f0b
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Nov 01 14:46:31 2016 +0000
description:
reduce admin queue size to save memory; it's only ever used during
attach/detach and for nvmectl(8), so there is actually no point having it big
diffstat:
sys/dev/ic/nvme.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c1e6507defd2 -r cb17562e0f0b sys/dev/ic/nvme.c
--- a/sys/dev/ic/nvme.c Tue Nov 01 14:45:25 2016 +0000
+++ b/sys/dev/ic/nvme.c Tue Nov 01 14:46:31 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nvme.c,v 1.21 2016/11/01 14:39:38 jdolecek Exp $ */
+/* $NetBSD: nvme.c,v 1.22 2016/11/01 14:46:31 jdolecek Exp $ */
/* $OpenBSD: nvme.c,v 1.49 2016/04/18 05:59:50 dlg Exp $ */
/*
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvme.c,v 1.21 2016/11/01 14:39:38 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvme.c,v 1.22 2016/11/01 14:46:31 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -40,7 +40,7 @@
#include <dev/ic/nvmevar.h>
#include <dev/ic/nvmeio.h>
-int nvme_adminq_size = 128;
+int nvme_adminq_size = 32;
int nvme_ioq_size = 1024;
static int nvme_print(void *, const char *);
Home |
Main Index |
Thread Index |
Old Index