git: fed2c1ce8f07 - stable/13 - iommu_gas: Eliminate a stale comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Jul 2022 17:05:06 UTC
The branch stable/13 has been updated by dougm:
URL: https://cgit.FreeBSD.org/src/commit/?id=fed2c1ce8f073cabb957332cb607aae740eb5e06
commit fed2c1ce8f073cabb957332cb607aae740eb5e06
Author: Alan Cox <alc@FreeBSD.org>
AuthorDate: 2022-06-20 17:14:53 +0000
Commit: Doug Moore <dougm@FreeBSD.org>
CommitDate: 2022-07-06 16:52:06 +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
(cherry picked from commit 164491fb038724405b9e38355b569ef8dd4ad068)
---
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 d0ed0bde54c0..aa2763e4e47f 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.