Skip to content

Commit

Permalink
direct reclaim mode for evictions
Browse files Browse the repository at this point in the history
Only way to do eviction case fast enough is to inline it, sadly.
This finally deletes the old item_alloc code now that I'm not intending on
reusing it.

Also removes the condition wakeup for the background thread. Instead runs on a
timer, and meters its aggressiveness by how much shuffling is going on.

Also fixes a segfault in lru_pull_tail(), was unlinking `it` instead of
`search`.
  • Loading branch information
dormando committed Jan 5, 2015
1 parent f7bf26c commit a039084
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 219 deletions.

0 comments on commit a039084

Please sign in to comment.