2002-03-05 01:58:51

by Brian Gerst

[permalink] [raw]
Subject: [PATCH] Better kmalloc effeciency

diff -urN linux-2.5.6-pre2/mm/slab.c linux/mm/slab.c
--- linux-2.5.6-pre2/mm/slab.c Mon Feb 11 10:21:49 2002
+++ linux/mm/slab.c Sun Mar 3 13:59:25 2002
@@ -341,7 +341,9 @@
{ 32, NULL, NULL},
#endif
{ 64, NULL, NULL},
+ { 96, NULL, NULL},
{ 128, NULL, NULL},
+ { 192, NULL, NULL},
{ 256, NULL, NULL},
{ 512, NULL, NULL},
{ 1024, NULL, NULL},
@@ -364,7 +366,9 @@
CN("size-32"),
#endif
CN("size-64"),
+ CN("size-96"),
CN("size-128"),
+ CN("size-192"),
CN("size-256"),
CN("size-512"),
CN("size-1024"),


Attachments:
kmalloc-sizes-1 (544.00 B)