summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2025-08-12 12:38:59 +0200
committerPeter Zijlstra <peterz@infradead.org>2025-08-15 13:12:58 +0200
commite8c4f6ee8eeed8e02800bed6afb9aa22fc3476a1 (patch)
tree77c3efc5364044bba53fdfbc078c8802fecc199e /scripts/gdb/linux/interrupts.py
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff)
perf: Remove redundant condition for AUX buffer size
It is already checked whether the VMA size is the same as nr_pages * PAGE_SIZE, so later checking both: aux_size == vma_size && aux_size == nr_pages * PAGE_SIZE is redundant. Remove the vma_size check as nr_pages is what is actually used in the allocation function. That prepares for splitting out the buffer allocation into separate functions, so that only nr_pages needs to be handed in. No functional change. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Link: https://lore.kernel.org/r/20250812104018.424519320@infradead.org
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions