milvus/pkg/util/hardware
congqixia 6452d146af
enhance: move jemalloc_stats from pkg to internal/util/segcore (#46560)
Related to #46133

Move jemalloc_stats.go and its test file from pkg/util/hardware to
internal/util/segcore. This is a more appropriate location because:
- jemalloc_stats depends on milvus_core C++ library via cgo
- The pkg directory should remain independent of internal C++
dependencies
- segcore is the natural home for core memory allocator utilities

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Refactor**
* Improved internal code organization by reorganizing memory statistics
collection infrastructure for better maintainability and modularity. No
impact on end-user functionality or behavior.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-12-24 19:03:18 +08:00
..
container_darwin.go
container_linux.go
container_test_linux.go
container_windows.go
gpu_mem_info.go enhance: prevent multiple query nodes from causing excessive occupancy of a single node, leading to GPU memory overflow (#39276) (#38617) 2025-01-15 20:15:01 +08:00
gpu_mem_info_cuda.go enhance: Log error instead of panicking if load lock wait timeout (#39308) 2025-01-16 02:31:02 +08:00
hardware_info.go enhance: Use v2 package name for pkg module (#39990) 2025-02-22 23:15:58 +08:00
hardware_info_test.go enhance: Use v2 package name for pkg module (#39990) 2025-02-22 23:15:58 +08:00
listener.go enhance: limit the gc concurrency when cpu is high (#43059) 2025-07-04 09:22:43 +08:00
listener_test.go enhance: limit the gc concurrency when cpu is high (#43059) 2025-07-04 09:22:43 +08:00
mem_info.go fix: Allow to compile on windows (#41448) 2025-04-24 20:34:38 +08:00
mem_info_darwin.go enhance: Use v2 package name for pkg module (#39990) 2025-02-22 23:15:58 +08:00
mem_info_windows.go fix: Allow to compile on windows (#41448) 2025-04-24 20:34:38 +08:00