Revision 8e125cd85517c9716695b0abfabc0a4a3fcb94f3 authored by Minchan Kim on 31 July 2012, 23:43:16 UTC, committed by Linus Torvalds on 01 August 2012, 01:42:43 UTC
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent fe03025
File | Mode | Size |
---|---|---|
configs | ||
hpux | ||
include | ||
kernel | ||
lib | ||
math-emu | ||
mm | ||
oprofile | ||
Kconfig | -rw-r--r-- | 6.0 KB |
Kconfig.debug | -rw-r--r-- | 1.0 KB |
Makefile | -rw-r--r-- | 4.0 KB |
defpalo.conf | -rw-r--r-- | 789 bytes |
install.sh | -rw-r--r-- | 935 bytes |
nm | -rw-r--r-- | 194 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...