[Bug 224479] kernel panic in reboot+swapoff sys call

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 27 20:20:36 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224479

--- Comment #13 from Mark Millard <markmi at dsl-only.net> ---
(In reply to Wolfram Schneider from comment #12)

Does the problem happen for:

shutdown -r now

instead of reboot?

I ask because the man page for reboot says that
reboot does not cleanly shut down all processes,
recommending the use of shutdown instead:

 Normally, the shutdown(8) utility is used when the system needs to be
     halted or restarted, giving users advance warning of their impending doom
     and cleanly terminating specific programs.

So, reboot is documented to be more likely to have
race conditions.

Side note:

Going the other direction, given what is known
about file-system swapspaces (i.e., vnode-backed),
I'm not sure why they are allowed by default
instead of needing support to be explicitly
enabled. (The enabling indicating that one is
supposed to understand the issues involved in
their use.)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list