mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
qcacld-3.0: do memory zero for pre-alloc multi-pages when free
Do each page memory zero operation for pre-alloc pages memory when the pages memory is put back to pool. Change-Id: I06689054ff57df2177f9d0d183494a357e4e05d6 CRs-Fixed: 2776363
This commit is contained in:
parent
96997b6d7c
commit
ecee02da1d
1 changed files with 2 additions and 1 deletions
|
|
@ -509,7 +509,8 @@ void dp_prealloc_put_multi_pages(uint32_t desc_type,
|
|||
dp_info("i %d: desc_type %d returned",
|
||||
i, desc_type);
|
||||
mp->in_use = false;
|
||||
/* is page memory zero needed? */
|
||||
qdf_mem_multi_pages_zero(&mp->pages,
|
||||
mp->cacheable);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue