aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/zpios-test/small.sh
diff options
context:
space:
mode:
authorTim Chase <[email protected]>2014-10-02 07:21:08 -0500
committerBrian Behlendorf <[email protected]>2014-10-28 09:34:51 -0700
commited6e9cc235b47b5c940178926715f871bd36dc5e (patch)
tree53ba7485463ca7c97aa3d2790afab1536919e410 /scripts/zpios-test/small.sh
parent9635861742c6ac334877f944e17948aa11c2e57a (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