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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 29 22:58:45 UTC 2017


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

--- Comment #24 from Mark Millard <markmi at dsl-only.net> ---
(In reply to Andriy Gapon from comment #23)

[Ignore if you care not for my history and
opinion for swapfile usage vs. partition
usage.]

I will note that when I ran into the deadlock
problems from using a swapfile instead of a
partition, it was not obvious at the time that
swapspace handling was involved at all: it was
also first use of a platform as well. I was not
lucky to have changed just one thing to know
to revert it. For all I knew the type of
platform might have been having problems in
general.

It was a pain to figure out that swapfile use
was what I could avoid using in order to avoid
the hangups that were happening. To me the
discovery seemed to mean that FreeBSD violated
a variation on the principle of least
astonishment (but not tied to changes to
historical behavior).

(Having a partition with UFS and only one
user-file, the swapfile, might avoid some of
the issues. I had done this earlier [by an
accidental choice] on powerpc64 and powerpc and
had not seen any problems. This contributed
to my not challenging the swapfile use earlier
in trying to isolate contributions to the
hangups: I did not then realize that I'd done
something possibly special in that earlier
use.)

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


More information about the freebsd-bugs mailing list