Commit 455d075a authored by Brian Gerst's avatar Brian Gerst Committed by Linus Torvalds

[PATCH] Better kmalloc effeciency

This patch adds two intermediate general cache sizes, 96 and 192 bytes.
On my system this saves about 34k.

size-256              63    180    256    5   12    1
size-192              95    120    192    5    6    1
size-128             213    240    128    8    8    1
size-96             1080   1120     96   28   28    1
parent e868c063
......@@ -341,7 +341,9 @@ static cache_sizes_t cache_sizes[] = {
{ 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 @@ static struct {
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"),
......
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