Thread Synch AOSV 2020
1.2
LKM for exchanging messages between threads
|
Garbage Collector structure. More...
#include <types.h>
Data Fields | |
struct work_struct | work |
atomic_t | ratio |
Garbage Collector structure.
The ratio parameter indicates when the garbage collector should starts: If the current ratio is higher that the garbage collector ratio, it perform cleaning operation, otherwise it will not start
Ratio is computed by dividing the current storage size with the maximum storage size_t and by multiplying it by 10.
atomic_t t_garbage_collector::ratio |
Ratio of the garbage collector
struct work_struct t_garbage_collector::work |
Garbage Collector deferred work