Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2022 17:31:00 GMT
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 164491fb0387 - main - iommu_gas: Eliminate a stale comment
Message-ID:  <202206201731.25KHV0nB093429@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by alc:

URL: https://cgit.FreeBSD.org/src/commit/?id=164491fb038724405b9e38355b569ef8dd4ad068

commit 164491fb038724405b9e38355b569ef8dd4ad068
Author:     Alan Cox <alc@FreeBSD.org>
AuthorDate: 2022-06-20 17:14:53 +0000
Commit:     Alan Cox <alc@FreeBSD.org>
CommitDate: 2022-06-20 17:30:36 +0000

    iommu_gas: Eliminate a stale comment
    
    As of 19bb5a7244ff, the size passed to iommu_gas_map is no longer
    required to be a multiple of the CPU page size.
    
    MFC after:      2 weeks
---
 sys/dev/iommu/iommu_gas.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/dev/iommu/iommu_gas.c b/sys/dev/iommu/iommu_gas.c
index 073b5626edf6..f25519552d1c 100644
--- a/sys/dev/iommu/iommu_gas.c
+++ b/sys/dev/iommu/iommu_gas.c
@@ -358,8 +358,7 @@ iommu_gas_match_insert(struct iommu_gas_match_args *a)
 
 	/*
 	 * The prev->end is always aligned on the page size, which
-	 * causes page alignment for the entry->start too.  The size
-	 * is checked to be multiple of the page size.
+	 * causes page alignment for the entry->start too.
 	 *
 	 * The page sized gap is created between consequent
 	 * allocations to ensure that out-of-bounds accesses fault.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206201731.25KHV0nB093429>