[Bug 275436] tmpfs does not honor memory limits on writes
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 275436] tmpfs does not honor memory limits on writes"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Nov 2023 20:51:54 UTC
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.