diff options
author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-10 22:52:15 -0400 |
---|---|---|
committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-11 19:01:12 -0400 |
commit | a13573378cc34327d5af9d2af88e12ccf1ff4fc3 (patch) | |
tree | 71c0bfd350edaf8a5c7fc23fc948e42ad394bc1a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6d7a3f278d85fb19c742435fff0b757559cba7eb (diff) |
Improve portability and fix dynamic CPU entry/exit in gedf_env
Dynamic CPU entry/exit changes:
- Fix build with CONFIG_RELEASE_MASTER
- Migrate gedf_env release timer when a core is suspended
- Fix race condition in gedf_env core resume
- Add documentation
- Allow for gedf_env_suspend() and gedf_env_resume() to be called
on CPUs that have already been suspended or resumed. (They do
nothing in those cases.)
Portability:
- Allocate space in `gedf_reservation_environment` using
`num_online_cpus()` rather than `NR_CPUS`. Otherwise the stack
frame can overflow when `NR_CPUS` is large.
- Assign `plugin_state` from the plugin rather than the extended
reservations code to support other uses of `plugin_state`.
Misc:
- Improve robustnesss of `gedf_env_is_np()`
- Don't memset with 0 memory already zeroed-out by `kzalloc()`
- Use GFP_ATOMIC for allocations when in a scheduling context
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions