commit | 070b3c3fbd90296610005c111ec6060e8bb23d31 | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Thu Aug 14 14:45:58 2014 -0700 |
committer | Jason Evans <jasone@canonware.com> | Thu Aug 14 14:45:58 2014 -0700 |
tree | 8a4e01aa30746063c33b8dec17cc759cecef16c4 | |
parent | e8a2fd83a2ddc082fcd4e49373ea05bd79213c71 [diff] |
Fix and refactor runs_dirty-based purging. Fix runs_dirty-based purging to also purge dirty pages in the spare chunk. Refactor runs_dirty manipulation into arena_dirty_{insert,remove}(), and move the arena->ndirty accounting into those functions. Remove the u.ql_link field from arena_chunk_map_t, and get rid of the enclosing union for u.rb_link, since only rb_link remains. Remove the ndirty field from arena_chunk_t.