[Bug 267621] panic: page ... already unswappable

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Nov 2022 17:28:11 UTC

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
             Status|New                         |Open

--- Comment #2 from Mark Johnston <markj@FreeBSD.org> ---
Yes, I agree that the assertion is incorrect and should simply be removed.  It
has been racy since we removed the use of the page hash lock to synchronize
wiring of pages.  We should assert that the page's object is locked, though.

Just for some background on this queue, I added it to try and work around a
problem on swapless systems where the page daemon would spend inordinate
amounts of CPU in low memory situations trying to swap out anonymous pages,
only to fail over and over.  We can't simply not scan queues since we might
have a large number of dirty filesystem pages which *can* be paged out.

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