diff options
author | Dan McDonald <danmcd@omniti.com> | 2016-09-14 13:10:21 -0400 |
---|---|---|
committer | Dan McDonald <danmcd@omniti.com> | 2016-09-14 13:10:21 -0400 |
commit | b6bc2fd4673eae6c96e2aea9e16105dd32a66b7b (patch) | |
tree | e4b8a2ddff46995c2ee8fc89afd118bdf2ae0c9b | |
parent | 8834f7ac63a18ac48dfacf20506346d82b04fc14 (diff) | |
download | illumos-joyent-b6bc2fd4673eae6c96e2aea9e16105dd32a66b7b.tar.gz |
7364 NVMe driver performance can be improved by caching nvme_dma_t structs for PRPL. (fix lint)
-rw-r--r-- | usr/src/uts/common/io/nvme/nvme.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/io/nvme/nvme.c b/usr/src/uts/common/io/nvme/nvme.c index 36cd6dc5bf..1ea72fc792 100644 --- a/usr/src/uts/common/io/nvme/nvme.c +++ b/usr/src/uts/common/io/nvme/nvme.c @@ -508,6 +508,7 @@ nvme_free_dma(nvme_dma_t *dma) kmem_free(dma, sizeof (*dma)); } +/* ARGSUSED */ static void nvme_prp_dma_destructor(void *buf, void *private) { @@ -572,6 +573,7 @@ nvme_zalloc_dma(nvme_t *nvme, size_t len, uint_t flags, return (DDI_SUCCESS); } +/* ARGSUSED */ static int nvme_prp_dma_constructor(void *buf, void *private, int flags) { |