#8109: Memory usage slowly rising in About -----------------------------+---------------------------- Reporter: luroh | Owner: mmlr Type: bug | Status: in-progress Priority: normal | Milestone: R1 Component: System/Kernel | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All -----------------------------+---------------------------- Comment (by bonefish): Yeah, you're right. I just looked at the code and indeed there are several cases in which the page daemon moves mapped pages to the inactive list. For pages from non-temporary caches that is desirable. For wired pages that is probably OK, too (depends on whether the code that unwires pages handles it correctly -- haven't checked). The logic doesn't seem to be quite correct for pages whose usage count was > 0, though since ATM `kPageUsageDecline` is 1, that doesn't harm either. So, yes, things look in order and adding the inactive page count to the mapped page count indeed isn't correct. A more correct value for the used page count would be active + inactive + wired + modified temporary, but I might be missing something. -- Ticket URL: <http://dev.haiku-os.org/ticket/8109#comment:14> Haiku <http://dev.haiku-os.org> Haiku - the operating system.