Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2023 20:51:54 +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-XaNczPcx8I@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

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> ---
I do not think this is a right approach.  Free pages/free target from the VM
subsystem is not what people usually think about it.  The numbers only dire=
ct
the pagedaemon activity, they are not indicative in any other way.  If the
system has enough swap and inactive pages, they can be converted into reusa=
ble
pages without causing OOM/ENOMEM etc.

Similarly, I do not think it is right to do any limiting on tmpfs file resi=
ze.
Tmpfs supports holes, and there is no reason to block that.

Tmpfs already has the mechanism to count actually allocated pages and to cl=
amp
the amount of pages allocated to specific mount.  It it the right thing to =
do
IMO.
Why wouldn't you use it?

--=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-XaNczPcx8I>