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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 28 12:31:26 UTC 2017


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

--- Comment #14 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Mark Millard from comment #13)
There is no race, the system behaves as it supposed to.  If swap storage is
revoked, the swap in procedure panics.  I am not sure that trying to convert
this situation into SIGSEGV to the affected process is useful, because kernel
stacks can be also swapped out, and the kernel has no other way out except
panicing.

You complain about swap over file being enabled by default does not make sense
either.  The configuration requires explicit user involvement, and it is
allowed by combination of the components that were designed to fit.  The
consequences of doing so is up to the user, we cannot and must not hold user'
hands.  Taking your line of reasoning, shall we disallow for installing the
system on unreliable media like sdcard 'by default', because wearing makes the
system fail fast ?

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


More information about the freebsd-bugs mailing list