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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 20 12:51:38 UTC 2017


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

--- Comment #2 from Wolfram Schneider <wosch at FreeBSD.org> ---
the suspect commit is:

commit c123c7433b7eb3ccacfa1bae8ae136c61cfe8462
Author: alc <alc at FreeBSD.org>
Date:   Tue Nov 28 17:46:03 2017 +0000

    When the swap pager allocates space on disk, it requests contiguous
    blocks in a single call to blist_alloc().  However, when it frees
    that space, it previously called blist_free() on each block, one at a
    time.  With this change, the swap pager identifies ranges of
    contiguous blocks to be freed, and calls blist_free() once per
    range.  In one extreme case, that is described in the review, the time
    to perform an munmap(2) was reduced by 55%.

    Submitted by:   Doug Moore <dougm at rice.edu>
    Reviewed by:    kib
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D12397


I did a git revert, recompiled the kernel and the problem was gone.

Note: I do not say this commit created a new bug. It is very likely that it
triggered an old bug. There are many reports about this kind of bug for older
releases on the net.

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


More information about the freebsd-bugs mailing list