Dump page tracking no longer needed on mips
Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D33763
This commit is contained in:
parent
f54882a862
commit
c25a30e255
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user