Actions
Feature #5362
open201: All allocated cache memory should be freed
Status:
New
Priority:
Normal
Assignee:
-
Start date:
10/20/2014
Due date:
% Done:
0%
Estimated time:
Published in build:
Description
Cache memory is allocated by function kmem_cache_alloc, which takes a start of memory region and its size. The allocated memory region is freed by function kmem_cache_free. The rules of correct usage are:
- freeing all allocated cache memory to avoid a memory leak;
- freeing an allocated cache memory only once;
- freeing only allocated cache memory.
Sample bugfixes:
6a815cf
Actions