git: c25a30e25544 - main - Dump page tracking no longer needed on mips
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jan 2022 06:46:19 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=c25a30e25544008cb79251c9f61ca33a651cdf9f commit c25a30e25544008cb79251c9f61ca33a651cdf9f Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-01-06 00:42:40 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-01-06 04:00:39 +0000 Dump page tracking no longer needed on mips Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D33763 --- sys/vm/uma_core.c | 4 ++-- sys/vm/vm_page.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index 52d30780b3b0..e114e43184bd 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -1899,7 +1899,7 @@ startup_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *pflag, pa = VM_PAGE_TO_PHYS(m); for (i = 0; i < pages; i++, pa += PAGE_SIZE) { -#if defined(__aarch64__) || defined(__amd64__) || defined(__mips__) || \ +#if defined(__aarch64__) || defined(__amd64__) || \ defined(__riscv) || defined(__powerpc64__) if ((wait & M_NODUMP) == 0) dump_add_page(pa); @@ -1927,7 +1927,7 @@ startup_free(void *mem, vm_size_t bytes) if (va >= bootstart && va + bytes <= bootmem) pmap_remove(kernel_pmap, va, va + bytes); for (; bytes != 0; bytes -= PAGE_SIZE, m++) { -#if defined(__aarch64__) || defined(__amd64__) || defined(__mips__) || \ +#if defined(__aarch64__) || defined(__amd64__) || \ defined(__riscv) || defined(__powerpc64__) dump_drop_page(VM_PAGE_TO_PHYS(m)); #endif diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 3398690a9661..3a0d70a47423 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -623,7 +623,7 @@ vm_page_startup(vm_offset_t vaddr) #else (void)last_pa; #endif -#if defined(__aarch64__) || defined(__amd64__) || defined(__mips__) || \ +#if defined(__aarch64__) || defined(__amd64__) || \ defined(__riscv) || defined(__powerpc64__) /* * Include the UMA bootstrap pages, witness pages and vm_page_dump @@ -728,7 +728,7 @@ vm_page_startup(vm_offset_t vaddr) */ new_end = vm_reserv_startup(&vaddr, new_end); #endif -#if defined(__aarch64__) || defined(__amd64__) || defined(__mips__) || \ +#if defined(__aarch64__) || defined(__amd64__) || \ defined(__riscv) || defined(__powerpc64__) /* * Include vm_page_array and vm_reserv_array in a crash dump.