[Bug 267621] panic: page ... already unswappable
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 267621] panic: page ... already unswappable"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Nov 2022 17:28:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267621 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.