MuYao Luo has uploaded this change for review.

View Change

TrimMemory: Add a trim thread to release free memory

When allocator hold free memory for a long time, we need
to try trigger GC regularly, it is helpful for OS that reclaim memory.
The interval of trim default set 90s, set it to 0 means disable trim.

Change-Id: I805a57c1c19ff2d50241b049403ebfb62896969e
Signed-off-by: Luo.muyao <luo.muyao@zte.com.cn>
---
M src/MainNFSD/nfs_init.c
M src/MainNFSD/nfs_reaper_thread.c
M src/config_samples/config.txt
M src/doc/man/ganesha-core-config.rst
M src/include/gsh_config.h
M src/include/nfs_core.h
M src/support/nfs_read_conf.c
7 files changed, 67 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/84/518384/1

To view, visit change 518384. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I805a57c1c19ff2d50241b049403ebfb62896969e
Gerrit-Change-Number: 518384
Gerrit-PatchSet: 1
Gerrit-Owner: MuYao Luo <luo.muyao@zte.com.cn>
Gerrit-MessageType: newchange