diff options
author | Sean Christopherson <seanjc@google.com> | 2025-01-11 03:20:19 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-01-15 04:36:15 +0300 |
commit | d131f0042f466d558f7b75af5e100b62a91a5803 (patch) | |
tree | 9c79c5c70299b1d73005d95c1555d9d5c6a1fc0e /tools/perf/scripts/python/stackcollapse.py | |
parent | f81a6d12bf8b262f4c8ce5e856a4d399d97612ee (diff) | |
download | linux-d131f0042f466d558f7b75af5e100b62a91a5803.tar.xz |
KVM: Assert slots_lock is held when setting memory regions
Add proper lockdep assertions in __kvm_set_memory_region() and
__x86_set_memory_region() instead of relying comments.
Opportunistically delete __kvm_set_memory_region()'s entire function
comment as the API doesn't allocate memory or select a gfn, and the
"mostly for framebuffers" comment hasn't been true for a very long time.
Cc: Tao Su <tao1.su@linux.intel.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Acked-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Link: https://lore.kernel.org/r/20250111002022.1230573-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions