From 50130120743ad73c99a6fe900268569501000ecd Mon Sep 17 00:00:00 2001 From: mglocker Date: Mon, 3 Jun 2024 12:01:57 +0000 Subject: [PATCH] Remove superfluous pmap_extract() call in the hibernation path. ok jsg@ --- sys/dev/ic/nvme.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c index 10688918698..4f0f2a3362c 100644 --- a/sys/dev/ic/nvme.c +++ b/sys/dev/ic/nvme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nvme.c,v 1.115 2024/05/28 00:24:44 jsg Exp $ */ +/* $OpenBSD: nvme.c,v 1.116 2024/06/03 12:01:57 mglocker Exp $ */ /* * Copyright (c) 2014 David Gwynne @@ -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, -- 2.20.1