Tests in lib/libc/sys/mincore_test pass.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/riscv/riscv/pmap.c | ||
---|---|---|
3200 ↗ | (On Diff #45845) | No reason. I'll change it to = before committing. |
sys/riscv/riscv/pmap.c | ||
---|---|---|
3198 ↗ | (On Diff #45845) | As an aside, the RISC-V designers have made an interesting architectural choice here. Hypothetically, we could speed up fork() on x86 by removing write permission at the upper levels of the page table, and sharing the lower-level page table pages until pmap_enter() tries to create a writeable mapping at a lower level. Only then would you allocate a new page table page, copying the old one, and removing write access from the other PTEs in that copied page table page. However, this way of expressing superpage mappings eliminates the possibility of such an optimization. |