HomeFreeBSD

kern_reboot(9): describe event handlers

Description

kern_reboot(9): describe event handlers

Add more details about the execution and purpose of these shutdown
handlers. Make a point to mention the requirement that they can be run
in a normal or panic context. Add some simple examples.

Add a brief comment to the declaration in sys/eventhandler.h.

Reviewed by: markj
Discussed with: rpokala, Pau Amma <pauamma@gundo.com>
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39135

Details

Provenance
mhorneAuthored on Mar 20 2023, 7:58 PM
Reviewer
markj
Differential Revision
D39135: kern_reboot(9): describe event handlers
Parents
rGb7caa912f9df: kern_reboot(9): document shutdown_nice()
Branches
Unknown
Tags
Unknown