git: 4179cc8da65d - main - vm_page: conditionally compile label
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 May 2025 09:08:30 UTC
The branch main has been updated by dougm:
URL: https://cgit.FreeBSD.org/src/commit/?id=4179cc8da65d6fb56ed04a69151ef493cba6b8d5
commit 4179cc8da65d6fb56ed04a69151ef493cba6b8d5
Author: Doug Moore <dougm@FreeBSD.org>
AuthorDate: 2025-05-16 09:06:13 +0000
Commit: Doug Moore <dougm@FreeBSD.org>
CommitDate: 2025-05-16 09:06:13 +0000
vm_page: conditionally compile label
A change that removed a goto left a label the target of no gotos on powerpc.
Use the preprocessor to hide that label when it's not a target.
Fixes: 7c9fe7a7925b ("vm_page: remove obsolete page alloc loops")
---
sys/vm/vm_page.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index e4bede5d3be7..ecf8f5c73a5e 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -2095,7 +2095,9 @@ vm_page_alloc_domain_iter(vm_object_t object, vm_pindex_t pindex, int domain,
m = NULL;
if (!vm_pager_can_alloc_page(object, pindex))
return (NULL);
+#if VM_NRESERVLEVEL > 0
again:
+#endif
if (__predict_false((req & VM_ALLOC_NOFREE) != 0)) {
m = vm_page_alloc_nofree_domain(domain, req);
if (m != NULL)