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 |
---|---|---|
amiga | ||
apollo | ||
atari | ||
bvme6000 | ||
configs | ||
emu | ||
fpsp040 | ||
hp300 | ||
ifpsp060 | ||
include | ||
kernel | ||
lib | ||
mac | ||
math-emu | ||
mm | ||
mvme147 | ||
mvme16x | ||
platform | ||
q40 | ||
sun3 | ||
sun3x | ||
tools | ||
Kconfig | -rw-r--r-- | 2.0 KB |
Kconfig.bus | -rw-r--r-- | 1.7 KB |
Kconfig.cpu | -rw-r--r-- | 12.0 KB |
Kconfig.debug | -rw-r--r-- | 1.1 KB |
Kconfig.devices | -rw-r--r-- | 3.6 KB |
Kconfig.machine | -rw-r--r-- | 14.9 KB |
Makefile | -rw-r--r-- | 5.3 KB |
install.sh | -rw-r--r-- | 1.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...