[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: Mon, 11 Dec 2023 05:50:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275436 --- Comment #11 from Konstantin Belousov <kib@FreeBSD.org> --- So what would happen if swap is added or removed? This cannot handle situation when a program allocates anon memory. And by default we do not enforce any limits on anon memory use (swap accounting). We do not even disable overcommit. I do not object (strongly) against the patch, but for me the introduced restriction looks very arbitrary. I might go as far as to propose to add a verbosity to kernel to announce this limit in tmpfs_set_reserve_from_percent(). If you intend to commit the patch, please put it on phab, I have several trivial notes about code. -- You are receiving this mail because: You are the assignee for the bug.