Skip to contentSkip to conversation

Spelling cleanups in shrinker code

KJ Martin Hicks 1 participant 1 message Mar 9, 2005 Kernel janitors

lore
Share & tools
lore
#0 lore raw

Hi,

This is just a spelling cleanup in the Shrinker code. Generated against 2.6.11-rc4-mm1, but it applies with a small offset against 2.6.11

Thanks!
mh

Signature · 26 lines
Martin Hicks                Wild Open Source Inc.
[email protected]     613-266-2296



Just a few small cleanups to make this coherent english.

Signed-Off-By:  Martin Hicks <[email protected]>


Index: linux-2.6.10.toss/include/linux/mm.h
===================================================================
--- linux-2.6.10.toss.orig/include/linux/mm.h	2005-03-09 08:14:43.000000000 -0800
+++ linux-2.6.10.toss/include/linux/mm.h	2005-03-09 08:15:00.000000000 -0800
@@ -646,9 +646,9 @@
  * These functions are passed a count `nr_to_scan' and a gfpmask.  They should
  * 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.
  */
 typedef int (*shrinker_t)(int nr_to_scan, unsigned int gfp_mask);

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors