Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 2017 12:31:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 224479] kernel panic in reboot+swapoff sys call
Message-ID:  <bug-224479-8-yKtpaqRmeY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224479-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224479-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224479

--- Comment #14 from Konstantin Belousov <kib@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 kern=
el
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 se=
nse
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 use=
r'
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 ?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224479-8-yKtpaqRmeY>