Project

General

Profile

Actions

Feature #5362

open

201: All allocated cache memory should be freed

Added by Pavel Andrianov about 10 years ago. Updated about 10 years ago.

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 #1

Updated by Pavel Andrianov about 10 years ago

  • Subject changed from 201: All alloced cache memory should be freed to 201: All allocated cache memory should be freed
Actions #2

Updated by Pavel Andrianov about 10 years ago

  • Tracker changed from Bug to Feature
Actions

Also available in: Atom PDF