mirror of
https://github.com/torvalds/linux.git
synced 2024-12-17 08:31:39 +00:00
8f0b364973
If the kfence object is allocated to be used for objects vector, then
this slot of the pool eventually being occupied permanently since the
vector is never freed. The solutions could be (1) freeing vector when
the kfence object is freed or (2) allocating all vectors statically.
Since the memory consumption of object vectors is low, it is better to
chose (2) to fix the issue and it is also can reduce overhead of vectors
allocating in the future.
Link: https://lkml.kernel.org/r/20220328132843.16624-1-songmuchun@bytedance.com
Fixes:
|
||
---|---|---|
.. | ||
core.c | ||
kfence_test.c | ||
kfence.h | ||
Makefile | ||
report.c |