Reduced granularity of miframman allocator to 64 bytes,
as this is the Cortex R cache line size.
Change-Id: If9260e837750bd138cd19c3066fe4f0385154f4f
SCSC-Bug-Id: SSB-41587
Signed-off-by: Roman Geller <r.geller@samsung.com>
(cherry picked from commit
9f564e0ee5377eb55d2ce632f8e77d42b0d4b922)
{
mutex_init(&ram->lock);
+ SCSC_TAG_INFO(MIF, "MIFRAMMAN_BLOCK_SIZE = %d\n", MIFRAMMAN_BLOCK_SIZE);
ram->num_blocks = size_pool / MIFRAMMAN_BLOCK_SIZE;
if (ram->num_blocks == 0) {
void miframman_deinit(struct miframman *ram);
#define MIFRAMMAN_MAXMEM (16 * 1024 * 1024)
-#define MIFRAMMAN_BLOCK_SIZE (2 * 1024)
+#define MIFRAMMAN_BLOCK_SIZE (64)
#define MIFRAMMAN_NUM_BLOCKS ((MIFRAMMAN_MAXMEM) / (MIFRAMMAN_BLOCK_SIZE))