[Bug 259940] [linuxulator][wine] no way to query the maximum process ki_size

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 20 Nov 2021 18:06:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259940

Mark Johnston <markj@FreeBSD.org> changed:

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

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Created attachment 229620
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229620&action=edit
proposed patch

We don't track that value, but it is not hard to add.  See the attached patch.

One nit is that we count mappings with protection PROT_NONE, but not guard
mappings, but for accounting purposes they should be treated the same. 
Handling that properly would require some extra complexity that is probably not
worth it.

-- 
You are receiving this mail because:
You are the assignee for the bug.