From nobody Thu Nov 30 20:51:54 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sh7fL1ZQdz52XtM for ; Thu, 30 Nov 2023 20:51:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sh7fL03YDz3Tpc for ; Thu, 30 Nov 2023 20:51:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701377514; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U98Fz5P50I+u/32oxa3vw/vQ7D93IFu/gx1L/Mp6QR4=; b=jYXq1HWfH273kU2xE/BUNUKgYsQo4+jeD8QcJnfMH/Tn+PY1rmx+K9BrwwD6ioOA+tMegy lI7HpVg4eUsy/ct3lUef1fUspgZEDQRj8yEWGfWcpYLvlhYiSjHNAay+VslR8Yg3/MvFOT k8iA0NLKrvmpl9c1wYUWyagkEA27z0LTJLmD+8BV7qp0SOYDcC3gEfJzgU/G8JW5B/AjQw O+QXjU4UO97x5RrlC2r1Tbq9vbZytjfdNS+gtBdxafnQB7CQWnGGkGoqL0O40cYNtiZmi6 nGRr5v+z99rcvHg/TIwheQOz5yMOjL9QIBf4qLn0LLoMhJtMRmuF9UFXGG40hA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701377514; a=rsa-sha256; cv=none; b=aZEihQgmmGtVTaIp0M0qApLvJHkEsm/CTyruA5ZjN3oaesTxqtp978edb+guSMr6wAM/VH K95Rv5IWyviSaXc+/3YjpjvpL4kF50AptzXooK+MEBrwwGFJVETS43IJBsC1PERX2HCBqN ak5Y0yGyHnGDJbwVEIpR6diXKvWTiTGXjU7hqLvm9GKtmOiGX2PlhhOt1M2+q4xp95dOIz bZ8rIMLp4+rhSqJje4Coje6D07H8gNS1f/QTeY1WITK1MVfHOGhrsJRf9n6usNuBb40cNr 49K/EiaM0I/Fi4P0iY5HpBCkL9Ke+5Ddo+GWpz1DpoHHvDoJsnhot14SMDhJUA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sh7fK6FQFz14x9 for ; Thu, 30 Nov 2023 20:51:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AUKprJL076968 for ; Thu, 30 Nov 2023 20:51:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AUKprRn076967 for bugs@FreeBSD.org; Thu, 30 Nov 2023 20:51:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 275436] tmpfs does not honor memory limits on writes Date: Thu, 30 Nov 2023 20:51:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275436 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov --- 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.=