artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae4b9d
)
Remove superfluous pmap_extract() call in the hibernation path.
author
mglocker
<mglocker@openbsd.org>
Mon, 3 Jun 2024 12:01:57 +0000
(12:01 +0000)
committer
mglocker
<mglocker@openbsd.org>
Mon, 3 Jun 2024 12:01:57 +0000
(12:01 +0000)
ok jsg@
sys/dev/ic/nvme.c
patch
|
blob
|
history
diff --git
a/sys/dev/ic/nvme.c
b/sys/dev/ic/nvme.c
index
1068891
..
4f0f2a3
100644
(file)
--- a/
sys/dev/ic/nvme.c
+++ b/
sys/dev/ic/nvme.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: nvme.c,v 1.11
5 2024/05/28 00:24:44 jsg
Exp $ */
+/* $OpenBSD: nvme.c,v 1.11
6 2024/06/03 12:01:57 mglocker
Exp $ */
/*
* Copyright (c) 2014 David Gwynne <dlg@openbsd.org>
@@
-1742,8
+1742,6
@@
nvme_hibernate_io(dev_t dev, daddr_t blkno, vaddr_t addr, size_t size,
my->cq_head = 0;
my->cqe_phase = NVME_CQE_PHASE;
- pmap_extract(pmap_kernel(), (vaddr_t)page, &page_phys);
-
memset(&qsqe, 0, sizeof(qsqe));
qsqe.opcode = NVM_ADMIN_ADD_IOCQ;
htolem64(&qsqe.prp1,