summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2026-04-08 11:41:57 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2026-05-01 00:08:07 -0400
commit296b29597db1cf96b955da0f1bcb34d2759dd9d7 (patch)
treee851a5ffc90acf74456ab60a1d4f60edd5d26d77 /tools/perf/scripts/python/bin/stackcollapse-record
parent0c768fa0aeb882fb5fbe75f4dcf0eb6ed23b9e8b (diff)
KVM: x86/mmu: rename and clarify BYTE_MASK
The BYTE_MASK macro is the central point of the black magic in update_permission_bitmask(). Rename it to something that relates to how it is used, and add a comment explaining how it works. Using shifts instead of powers of two was actually suggested by David Hildenbrand back in 2017 for clarity[1] but I evidently forgot his suggestion when applying to kvm.git. [1] https://lore.kernel.org/kvm/e4b5df86-31ae-2f4e-0666-393753e256df@redhat.com/ Tested-by: David Riley <d.riley@proxmox.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions