1. 19 7月, 2010 1 次提交
    • D
      mm: add context argument to shrinker callback · 7f8275d0
      Dave Chinner 提交于
      The current shrinker implementation requires the registered callback
      to have global state to work from. This makes it difficult to shrink
      caches that are not global (e.g. per-filesystem caches). Pass the shrinker
      structure to the callback so that users can embed the shrinker structure
      in the context the shrinker needs to operate on and get back to it in the
      callback via container_of().
      Signed-off-by: NDave Chinner <dchinner@redhat.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      7f8275d0
  2. 20 7月, 2010 4 次提交
  3. 19 7月, 2010 10 次提交
  4. 17 7月, 2010 5 次提交
  5. 16 7月, 2010 7 次提交
  6. 15 7月, 2010 11 次提交
  7. 14 7月, 2010 2 次提交