Skip to content

happycache may double-load pages #8

Description

@hashbrowncipher

Right now, we do two passes to load pages: first an fadvise pass, then a pass where we actually fault the pages using mmap. If the OS is doing a non scan-resistant LRU, then we can get in a situation where we scan once, evict a few pages at the end of the scan, and then scan again. This would happen whenever a larger page cache is dumped from a larger machine and loaded on a smaller one.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions