Commit 845d3431 authored by Domen Puncer's avatar Domen Puncer Committed by Linus Torvalds

[PATCH] Spelling cleanups in shrinker code

Just a few small cleanups to make this coherent english.
Signed-Off-By: default avatarMartin Hicks <mort@wildopensource.com>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fba478b1
...@@ -637,9 +637,9 @@ extern unsigned long do_mremap(unsigned long addr, ...@@ -637,9 +637,9 @@ extern unsigned long do_mremap(unsigned long addr,
* These functions are passed a count `nr_to_scan' and a gfpmask. They should * These functions are passed a count `nr_to_scan' and a gfpmask. They should
* scan `nr_to_scan' objects, attempting to free them. * scan `nr_to_scan' objects, attempting to free them.
* *
* The callback must the number of objects which remain in the cache. * The callback must return the number of objects which remain in the cache.
* *
* The callback will be passes nr_to_scan == 0 when the VM is querying the * The callback will be passed nr_to_scan == 0 when the VM is querying the
* cache size, so a fastpath for that case is appropriate. * cache size, so a fastpath for that case is appropriate.
*/ */
typedef int (*shrinker_t)(int nr_to_scan, unsigned int gfp_mask); typedef int (*shrinker_t)(int nr_to_scan, unsigned int gfp_mask);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment