+80
−93
Loading
This patch aims to reduce memory needed to run spdk_top by removing some of thread data structures and also to rework thread RPC functions. Related functions that use thread structures for data gathering and display will be modfied to accomodate new changes. free_rpc_threads_stats() will be removed, because we now allocate memory on stack instead of heap and manually freeing is no longer needed. Deleted last_page variable in refresh_threads(), because it was not used. Signed-off-by:Krzysztof Karas <krzysztof.karas@intel.com> Change-Id: I73c30637b26434dad7ea55a9866887b1988166b1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8533 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>