HomeFreeBSD

riscv: fix pv_chunk check in pmap_pv_demote_l2()

Description

riscv: fix pv_chunk check in pmap_pv_demote_l2()

It is the full chunk that should be placed at the tail of the list, not
the free chunk.

Reviewed by: mhorne, jhb
MFC after: 1 week3 days
Fixes: 4d90a5afc51b ("sys: Consolidate common implementation details...")
Pull Request: https://github.com/freebsd/freebsd-src/pull/1321

Details

Provenance
Wuyang Chung <wy-chung@outlook.com>Authored on Jul 7 2024, 3:07 PM
mhorneCommitted on Jul 9 2024, 6:46 PM
Parents
rG430be7e1ee71: sx: avoid gcc -Wunused-value
Branches
Unknown
Tags
Unknown