The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=ba0d063cd6a5b7b6218242a866169a2d8fe32f17
commit ba0d063cd6a5b7b6218242a866169a2d8fe32f17 Author: Mark Johnston <ma...@freebsd.org> AuthorDate: 2021-02-22 23:21:49 +0000 Commit: Mark Johnston <ma...@freebsd.org> CommitDate: 2021-03-01 00:31:58 +0000 uma: Update the comment above startup_alloc() to reflect reality The scheme used for early slab allocations changed in commit a81c400e75. Reported by: alc Reviewed by: alc (cherry picked from commit 537f92cd351090c09b178a1749cd1d0326f74dc7) --- sys/vm/uma_core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index 0b6e02861785..8cbd1216678a 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -1642,9 +1642,9 @@ fail: } /* - * This function is intended to be used early on in place of page_alloc() so - * that we may use the boot time page cache to satisfy allocations before - * the VM is ready. + * This function is intended to be used early on in place of page_alloc(). It + * performs contiguous physical memory allocations and uses a bump allocator for + * KVA, so is usable before the kernel map is initialized. */ static void * startup_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *pflag, _______________________________________________ dev-commits-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"