mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 11:14:18 +01:00
riscv: include PV chunks in kernel dump
Un-ifdef the call to dump_add_page() in reserve_pv_entries(). We want PV chunks available in the kernel dump, in case they need inspection. Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45760
This commit is contained in:
parent
88d81453b1
commit
4e148a7baa
@ -2102,9 +2102,7 @@ retry:
|
||||
}
|
||||
PV_STAT(atomic_add_int(&pc_chunk_count, 1));
|
||||
PV_STAT(atomic_add_int(&pc_chunk_allocs, 1));
|
||||
#if 0
|
||||
dump_add_page(m->phys_addr);
|
||||
#endif
|
||||
pc = (void *)PHYS_TO_DMAP(m->phys_addr);
|
||||
pc->pc_pmap = pmap;
|
||||
pc->pc_map[0] = PC_FREEN;
|
||||
|
Loading…
Reference in New Issue
Block a user