summaryrefslogtreecommitdiff
path: root/legacy/eet/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-06-17 01:51:45 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-06-17 01:51:45 +0000
commit4c9fe6ed70a050ecfdf28dec4df6d032e8d11ffe (patch)
tree3bf18c666145f0add28461854ad37b248c1d3ce4 /legacy/eet/src
parenta82f27e2f037989faf3308f9d94374c5d3d3f2ce (diff)
tone down mempool chunk sizes
SVN revision: 72253
Diffstat (limited to 'legacy/eet/src')
-rw-r--r--legacy/eet/src/lib/eet_alloc.c2
-rw-r--r--legacy/eet/src/lib/eet_node.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/legacy/eet/src/lib/eet_alloc.c b/legacy/eet/src/lib/eet_alloc.c
index 29e276ce73..1671ccdf58 100644
--- a/legacy/eet/src/lib/eet_alloc.c
+++ b/legacy/eet/src/lib/eet_alloc.c
@@ -61,7 +61,7 @@ eet_mempool_init(void)
61 for (i = 0; i < sizeof (mempool_array) / sizeof (mempool_array[0]); ++i) 61 for (i = 0; i < sizeof (mempool_array) / sizeof (mempool_array[0]); ++i)
62 { 62 {
63 retry: 63 retry:
64 mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 64); 64 mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 16);
65 if (!mempool_array[i]->mp) 65 if (!mempool_array[i]->mp)
66 { 66 {
67 if (!strcmp(choice, "pass_through")) 67 if (!strcmp(choice, "pass_through"))
diff --git a/legacy/eet/src/lib/eet_node.c b/legacy/eet/src/lib/eet_node.c
index 11d7cc0652..faaa90587b 100644
--- a/legacy/eet/src/lib/eet_node.c
+++ b/legacy/eet/src/lib/eet_node.c
@@ -783,7 +783,7 @@ eet_node_init(void)
783 choice = tmp; 783 choice = tmp;
784 784
785 _eet_node_mp = 785 _eet_node_mp =
786 eina_mempool_add(choice, "eet-node-alloc", NULL, sizeof(Eet_Node), 1024); 786 eina_mempool_add(choice, "eet-node-alloc", NULL, sizeof(Eet_Node), 32);
787 787
788 return _eet_node_mp ? 1 : 0; 788 return _eet_node_mp ? 1 : 0;
789} 789}