diff options
author | Tim Chase <[email protected]> | 2014-10-02 07:21:08 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-10-28 09:34:51 -0700 |
commit | ed6e9cc235b47b5c940178926715f871bd36dc5e (patch) | |
tree | 53ba7485463ca7c97aa3d2790afab1536919e410 /scripts/zpios-test/small.sh | |
parent | 9635861742c6ac334877f944e17948aa11c2e57a (diff) |
Linux 3.12 compat: shrinker semantics
The new shrinker API as of Linux 3.12 modifies "struct shrinker" by
replacing the @shrink callback with the pair of @count_objects and
@scan_objects. It also requires the return value of @count_objects to
return the number of objects actually freed whereas the previous @shrink
callback returned the number of remaining freeable objects.
This patch adds support for the new @scan_objects return value semantics.
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tim Chase <[email protected]>
Closes #2837
Diffstat (limited to 'scripts/zpios-test/small.sh')
0 files changed, 0 insertions, 0 deletions