[Bug 280846] Low memory freezes / OOM: a thread waited too long to allocate a page

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Oct 2024 12:50:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280846

--- Comment #48 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=6a07e67fb7a8b5687a492d9d70a10651d5933ff5

commit 6a07e67fb7a8b5687a492d9d70a10651d5933ff5
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-10-22 12:48:43 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-10-22 12:48:43 +0000

    vm_meter: Fix laundry accounting

    Pages in PQ_UNSWAPPABLE should be considered part of the laundry.
    Otherwise, on systems with no swap, the total amount of memory visible
    to tools like top(1) decreases.

    It doesn't seem very useful to have a dedicated counter for unswappable
    pages, and updating applications accordingly would be painful, so just
    lump them in with laundry for now.

    PR:             280846
    Reviewed by:    bnovkov, kib
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D47216

 sys/vm/vm_meter.c | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

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