Page MenuHomeFreeBSD

riscv trap_pfault: remove unneeded hold of the process around vm_fault() call.
ClosedPublic

Authored by kib on Sep 13 2019, 7:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 24, 5:09 AM
Unknown Object (File)
Dec 11 2025, 8:31 AM
Unknown Object (File)
Nov 30 2025, 11:26 PM
Unknown Object (File)
Nov 25 2025, 4:02 AM
Unknown Object (File)
Nov 24 2025, 10:47 AM
Unknown Object (File)
Nov 20 2025, 7:04 PM
Unknown Object (File)
Nov 20 2025, 7:01 PM
Unknown Object (File)
Nov 20 2025, 7:01 PM
Subscribers

Details

Summary

This is re-appearance of the nop code removed from other arches in r287625.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 26482

Event Timeline

markj added inline comments.
sys/riscv/riscv/trap.c
240

Wasn't this incorrect for faults on pipe_map or exec_map?

This revision is now accepted and ready to land.Sep 13 2019, 7:42 PM
sys/riscv/riscv/trap.c
240

Incorrect what ? pipe or exec maps are kernel submaps. What do you mean exactly ?

sys/riscv/riscv/trap.c
240

Sorry, I meant that the comment seemed incorrect. I don't see why we would lock a process for faults on a user map, but not a fault on pipe_map. Anyway, it is not important.