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 |
---|---|---|
boot | ||
configs | ||
crypto | ||
ia32 | ||
include | ||
kernel | ||
kvm | ||
lguest | ||
lib | ||
math-emu | ||
mm | ||
net | ||
oprofile | ||
pci | ||
platform | ||
power | ||
realmode | ||
syscalls | ||
tools | ||
um | ||
vdso | ||
video | ||
xen | ||
.gitignore | -rw-r--r-- | 62 bytes |
Kbuild | -rw-r--r-- | 316 bytes |
Kconfig | -rw-r--r-- | 70.7 KB |
Kconfig.cpu | -rw-r--r-- | 15.9 KB |
Kconfig.debug | -rw-r--r-- | 9.8 KB |
Makefile | -rw-r--r-- | 7.5 KB |
Makefile.um | -rw-r--r-- | 1.6 KB |
Makefile_32.cpu | -rw-r--r-- | 3.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...