Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2026 00:35:54 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 70f48109503b - stable/15 - vm/vm_phys.c: allow PHYS_TO_VM_PAGE(0) for registered fictitious page @0
Message-ID:  <6a7d116a.20649.252b2588@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=70f48109503b0e17ff7e2e2a493af8b8d0397f01

commit 70f48109503b0e17ff7e2e2a493af8b8d0397f01
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-08-10 18:09:11 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-08-13 00:34:41 +0000

    vm/vm_phys.c: allow PHYS_TO_VM_PAGE(0) for registered fictitious page @0
    
    PR:     296348
    
    (cherry picked from commit 6a8558cf9f0190cb166042f97d2c883d822e66b2)
---
 sys/vm/vm_phys.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c
index 0aa38e0da0f0..8be09d9794b6 100644
--- a/sys/vm/vm_phys.c
+++ b/sys/vm/vm_phys.c
@@ -212,9 +212,6 @@ static inline int
 vm_phys_fictitious_in_range(struct vm_phys_fictitious_seg *p,
     struct vm_phys_fictitious_seg *range)
 {
-
-	KASSERT(range->start != 0 && range->end != 0,
-	    ("Invalid range passed on search for vm_fictitious page"));
 	if (p->start >= range->end)
 		return (1);
 	if (p->start < range->start)


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a7d116a.20649.252b2588>