Skip to content

proc: expose dirty/writeback accounting#12507

Open
0xzre wants to merge 1 commit intogoogle:masterfrom
0xzre:proc-dirty-writeback
Open

proc: expose dirty/writeback accounting#12507
0xzre wants to merge 1 commit intogoogle:masterfrom
0xzre:proc-dirty-writeback

Conversation

@0xzre
Copy link
Contributor

@0xzre 0xzre commented Jan 20, 2026

Resolves #203

  • Wire meminfo Dirty/Writeback fields to the dirty/writeback accounting.
  • Add global Dirty/Writeback counters in usage and hook DirtySet ops (mark/clean/sync/remove) to update them.
  • Adjust gofer cleanup paths to use accounted removal
  • Add a unit test for dirty accounting.

Note

with directfs/InteropModeShared defaults, writes bypass the sandbox cache, so values often remain 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dirty and Writeback are accounted but not shown in /proc/meminfo

1 participant

Comments