zfsonlinux/spl — pull request #101 by Prakash-Surya (2012-04-27 22:16:48+00:00)
Title: Throttle number of freed slabs based on nr_to_scan

Previously, the SPL tried to maintain Solaris semantics by freeing all
available (empty) slabs from its slab caches when the shrinker was
called. This is not desirable when running on Linux. To make the SPL
shrinker more Linux friendly, the actual number of freed slabs from
each of the slab caches is now derived from nr_to_scan and
skc_slab_objs.

Signed-off-by: Prakash Surya