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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275436 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 direct 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 reusable pages without causing OOM/ENOMEM etc. Similarly, I do not think it is right to do any limiting on tmpfs file resize. Tmpfs supports holes, and there is no reason to block that. Tmpfs already has the mechanism to count actually allocated pages and to clamp the amount of pages allocated to specific mount. It it the right thing to do IMO. Why wouldn't you use it? -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275436-227-XaNczPcx8I>
