patch-1.3.71 linux/mm/kmalloc.c

Next file: linux/net/ax25/ax25_subr.c
Previous file: linux/kernel/softirq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.70/linux/mm/kmalloc.c linux/mm/kmalloc.c
@@ -19,7 +19,7 @@
 #include <asm/system.h>
 #include <asm/dma.h>
 
-/* Define this is you want slow routines that try to trip errors */
+/* Define this if you want slow routines that try to trip errors */
 #undef SADISTIC_KMALLOC
 
 /* Private flags. */
@@ -89,8 +89,8 @@
 };
 
 /*
- * For now it is unsafe to allocate bucket sizes between n and n-16 where n is
- * 4096 * any power of two
+ * For now it is unsafe to allocate bucket sizes between n and
+ * n-sizeof(page_descriptor) where n is PAGE_SIZE * any power of two
  */
 #if PAGE_SIZE == 4096
 struct size_descriptor sizes[] =

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this