Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2018 21:53:56 +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-MfMQQKUU6T@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 #30 from Conrad Meyer <cem@freebsd.org> ---
(In reply to ota from comment #29)
Why is this line changed?  It seems gratuitous:

> static TAILQ_HEAD(swdevt_head, swdevt) swtailq =3D TAILQ_HEAD_INITIALIZER=
(swtailq);

Second: Can swapoff_all be moved much later?  Possibly just before
vfs_unmountall()?

My hunch is that syncing / flushing buffers may free up enough memory to
disable swap, if we were in an impossible-to-swapoff scenario before.  I ma=
y be
missing something, though.

--=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-MfMQQKUU6T>