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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 11 21:53:58 UTC 2018


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

--- Comment #30 from Conrad Meyer <cem at freebsd.org> ---
(In reply to ota from comment #29)
Why is this line changed?  It seems gratuitous:

> static TAILQ_HEAD(swdevt_head, swdevt) swtailq = 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 may be
missing something, though.

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


More information about the freebsd-bugs mailing list