Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2022 01:17:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260793] 'swapon -a' can crash the system
Message-ID:  <bug-260793-227-m5s5UnLzyM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260793-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260793-227@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=3D260793

--- Comment #6 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Peter Much from comment #5)
If trimonce is not set, then savecore will most likely be able to recover a
kernel dump from a dump (swap) device, after which it clears metadata on the
device.  This clearing is what prevents the swap pager from being able to
exclusively "claim" a device.  The kernel has no idea whether swapon intend=
s to
trim the device or not.

--=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-260793-227-m5s5UnLzyM>