aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-07-08 14:14:37 +1000
committerZiyan <jaraidaniel@gmail.com>2016-03-11 15:56:56 +0100
commitcf6b8a951a58ce898eaee284f7fd6e51335a1eea (patch)
treec965ff3b395c27cd7f18bc7c2f5a95080f109a51 /net
parente41f7cdae524b549884a11c4b8a16ae6e3a73f2f (diff)
downloadkernel_samsung_espresso10-cf6b8a951a58ce898eaee284f7fd6e51335a1eea.zip
kernel_samsung_espresso10-cf6b8a951a58ce898eaee284f7fd6e51335a1eea.tar.gz
kernel_samsung_espresso10-cf6b8a951a58ce898eaee284f7fd6e51335a1eea.tar.bz2
vmscan: add customisable shrinker batch size
For shrinkers that have their own cond_resched* calls, having shrink_slab break the work down into small batches is not paticularly efficient. Add a custom batchsize field to the struct shrinker so that shrinkers can use a larger batch size if they desire. A value of zero (uninitialised) means "use the default", so behaviour is unchanged by this patch. Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Conflicts: mm/vmscan.c
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions