ion: lower repeated spamming log 66/176866/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 24 Apr 2018 04:48:29 +0000 (13:48 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 24 Apr 2018 04:48:31 +0000 (13:48 +0900)
There are too many log about ion alloc and free. Lower repeated
spamming log.

Change-Id: I65cb53537ea5c778f514894e96486cb6965ecf54
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/staging/android/ion/ion_system_heap.c

index 5cf601f5789e9bb08ccbaa538ef9a4eb4af4df4a..ee36158bf1a53fb93e14c30af88c1068ff987cd4 100644 (file)
@@ -203,7 +203,7 @@ static int ion_system_heap_allocate(struct ion_heap *heap,
 
        gv_ion_alloc_size += (int)buffer->size;
 
-       pr_info("ia:buf[%p]sz[%d]to[%d]\n", buffer, (int)buffer->size, gv_ion_alloc_size);
+       pr_debug("ia:buf[%p]sz[%d]to[%d]\n", buffer, (int)buffer->size, gv_ion_alloc_size);
        return 0;
 
 free_table:
@@ -229,7 +229,7 @@ static void ion_system_heap_free(struct ion_buffer *buffer)
 
        gv_ion_alloc_size -= (int)buffer->size;
 
-       pr_info("if:buf[%p]sz[%d]to[%d]\n", buffer, (int)buffer->size, gv_ion_alloc_size);
+       pr_debug("if:buf[%p]sz[%d]to[%d]\n", buffer, (int)buffer->size, gv_ion_alloc_size);
 
        /* pages come from the page pools, zero them before returning
           for security purposes (other allocations are zerod at alloc time */