Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions tcmalloc/internal/percpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,15 +388,6 @@ class VirtualCpu {
return ABSL_PREDICT_TRUE(cpu >= kCpuIdInitialized);
}

[[nodiscard]] inline size_t GetNumaNode() {
#if TCMALLOC_INTERNAL_PERCPU_USE_RSEQ
if (ABSL_PREDICT_TRUE(IsFast())) {
return __rseq_abi.node_id;
}
#endif
return 0;
}

// A barrier that prevents compiler reordering.
inline void CompilerBarrier() {
#if defined(__GNUC__)
Expand Down
Loading