]> git.karo-electronics.de Git - karo-tx-linux.git/commit
vmscan: remove obsolete shrink_control comment
authorMinchan Kim <minchan@kernel.org>
Sat, 21 Jul 2012 00:54:14 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:02:31 +0000 (13:02 +1000)
commit6501c11e95843c88fc98e0751b87e8c5c174f8a7
treeaec4dff098bf79c6a7a5dc0088bdf13d224b7d40
parent187d128cb6b677eb2f3da1966e2125da74e80cdd
vmscan: remove obsolete shrink_control comment

09f363c7 ("vmscan: fix shrinker callback bug in fs/super.c") fixed a
shrinker callback which was returning -1 when nr_to_scan is zero, which
caused excessive slab scanning.  But 635697c6 ("vmscan: fix initial
shrinker size handling") fixed the problem, again so we can freely return
-1 although nr_to_scan is zero.  So let's revert 09f363c7 because the
comment added in 09f363c7 made an unnecessary rule.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/super.c
include/linux/shrinker.h