diff options
| author | Bob Liu <bob.liu@oracle.com> | 2013-08-06 19:36:16 +0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:15:14 -0700 |
| commit | 37b371fd53223d1fbdcc97e4ee2e3f02f21354ea (patch) | |
| tree | 4bc0e6510220d639d8ecf1725f9308dadf952f74 /scripts | |
| parent | c3ca4b603e062b56119d3602cb99cc779e7d65f9 (diff) | |
mm: zcache: add evict zpages supporting
Implemented zbud_ops->evict, so that compressed zpages can be evicted from
zbud memory pool in the case that the compressed pool is full.
zbud already managered the compressed pool based on LRU. The evict was
implemented just by dropping the compressed file page data directly, if
the data is required again then no more disk reading can be saved.
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Patch-mainline: linux-mm @ 2013-08-06 11:36:16
[vinmenon@codeaurora.org: trivial merge conflict fixes]
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Change-Id: Ia66652475e490f0233547511e80abf7587054e65
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
