Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] Spelling cleanups in shrinker code

Just a few small cleanups to make this coherent english.

Signed-Off-By: Martin Hicks <mort@wildopensource.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Domen Puncer and committed by
Linus Torvalds
845d3431 fba478b1

+2 -2
+2 -2
include/linux/mm.h
··· 637 637 * These functions are passed a count `nr_to_scan' and a gfpmask. They should 638 638 * scan `nr_to_scan' objects, attempting to free them. 639 639 * 640 - * The callback must the number of objects which remain in the cache. 640 + * The callback must return the number of objects which remain in the cache. 641 641 * 642 - * The callback will be passes nr_to_scan == 0 when the VM is querying the 642 + * The callback will be passed nr_to_scan == 0 when the VM is querying the 643 643 * cache size, so a fastpath for that case is appropriate. 644 644 */ 645 645 typedef int (*shrinker_t)(int nr_to_scan, unsigned int gfp_mask);