summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-09-28 11:52:46 +0200
committerAlex Williamson <alex.williamson@redhat.com>2024-10-30 13:31:26 -0600
commitbbee049d8ee21f33ef68d02b16763ae7e5bf9025 (patch)
treece3acca2af91612b7742b80fd8bc714e312f6206 /tools/perf/scripts/python/exported-sql-viewer.py
parent81983758430957d9a5cb3333fe324fd70cf63e7e (diff)
kvm/vfio: Constify struct kvm_device_ops
'struct kvm_device_ops' is not modified in this driver. Constifying this structure moves some data to a read-only section, so increases overall security, especially when the structure holds some function pointers. On a x86_64, with allmodconfig: Before: ====== text data bss dec hex filename 2605 169 16 2790 ae6 virt/kvm/vfio.o After: ===== text data bss dec hex filename 2685 89 16 2790 ae6 virt/kvm/vfio.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/e7361a1bb7defbb0f7056b884e83f8d75ac9fe21.1727517084.git.christophe.jaillet@wanadoo.fr Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions