diff options
| author | Anirudh Rayabharam (Microsoft) <anirudh@anirudhrb.com> | 2026-02-25 15:44:02 +0300 |
|---|---|---|
| committer | Wei Liu <wei.liu@kernel.org> | 2026-02-25 22:09:24 +0300 |
| commit | 5a674ef871fe9d4c7477127340941f2c4d9a2741 (patch) | |
| tree | 487eabdc9af2cc70047f63f93228aadf890be74c /include/linux/stackprotector.h | |
| parent | f69cfd8e8fd13b5d57e638fa1542fcd56f594ef0 (diff) | |
| download | linux-5a674ef871fe9d4c7477127340941f2c4d9a2741.tar.xz | |
mshv: refactor synic init and cleanup
Rename mshv_synic_init() to mshv_synic_cpu_init() and
mshv_synic_cleanup() to mshv_synic_cpu_exit() to better reflect that
these functions handle per-cpu synic setup and teardown.
Use mshv_synic_init/cleanup() to perform init/cleanup that is not per-cpu.
Move all the synic related setup from mshv_parent_partition_init.
Move the reboot notifier to mshv_synic.c because it currently only
operates on the synic cpuhp state.
Move out synic_pages from the global mshv_root since its use is now
completely local to mshv_synic.c.
This is in preparation for adding more stuff to mshv_synic_init().
No functional change.
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Signed-off-by: Anirudh Rayabharam (Microsoft) <anirudh@anirudhrb.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
