-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Simplify refresh logic by removing concurrency
This commit refactors the refresh logic of KernelSymbolTable to be sequential, removing the use of goroutines and channels. The decision to simplify the code was made for the following reasons: 1. Simplicity: The sequential approach simplifies the codebase, making it easier to understand, maintain, and debug. 2. Less Relevant Concurrency: With the introduction of "required symbols", the need for concurrency has been reduced. We now skip memory allocation for symbols that are not required, which constitutes the majority of the symbols in /proc/kallsyms.
- Loading branch information
1 parent
91f8f93
commit cf84b86
Showing
1 changed file
with
32 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters