[Bug 275436] tmpfs does not honor memory limits on writes

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Dec 2023 19:13:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275436

--- Comment #12 from Mike Karels <karels@freebsd.org> ---
(In reply to Konstantin Belousov from comment #11)
> So what would happen if swap is added or removed?

In theory the reserve should be increased or decreased, but that does not
happen.  However, the available space will be computed based on the new/current
swap space available.

> This cannot handle situation when a program allocates anon memory.

Right, it knows nothing about competing memory demands.

I'll run a few more experiments and see if anything better comes to mind.  If
not, I'll put this into a review.

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