diff options
author | Björn Töpel <bjorn@rivosinc.com> | 2024-02-22 10:39:58 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-02-23 10:18:44 +0100 |
commit | 5b98d210ac1e4eb35abfbd940df50dec10ae81e1 (patch) | |
tree | 65242661f0df6215db299588a6ad1b94332d1892 /arch/x86/kernel/apic | |
parent | irqchip/riscv-intc: Add support for RISC-V AIA (diff) | |
download | linux-5b98d210ac1e4eb35abfbd940df50dec10ae81e1.tar.xz linux-5b98d210ac1e4eb35abfbd940df50dec10ae81e1.zip |
genirq/matrix: Dynamic bitmap allocation
A future user of the matrix allocator, does not know the size of the matrix
bitmaps at compile time.
To avoid wasting memory on unnecessary large bitmaps, size the bitmap at
matrix allocation time.
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240222094006.1030709-11-apatel@ventanamicro.com
Diffstat (limited to 'arch/x86/kernel/apic')
0 files changed, 0 insertions, 0 deletions