Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2023 19:13:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275436] tmpfs does not honor memory limits on writes
Message-ID:  <bug-275436-227-qq0zSAZZPy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275436-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275436-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275436

--- 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/cur=
rent
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275436-227-qq0zSAZZPy>