答复: [????] Re: [PATCH] KVM: irqchip: allocate routing entries in chunks
From: Li,Rongqing
Date: Wed Sep 09 2026 - 23:27:36 EST
> Please look at Yanfei's series and help come to an agreement on how best to fix
> this. I am trying to get to Yanfei's series, and normally would take a close look
> at both, but I am extremely short on cycles at the moment.
>
> https://lore.kernel.org/all/20260525035242.107264-1-yanfei.xu@bytedance.
> com
>
Hi Sean,
Thanks for pointing me to Yanfei's series. I agree that both approaches
aim to reduce the allocation overhead in KVM_SET_GSI_ROUTING().
One main concern with using kvalloc() for the entire routing entry array is
that, under severe memory fragmentation, it may fall back to vmalloc().
The vmalloc() path can have relatively high and less predictable overhead,
especially when routing tables are updated frequently when guest OS is
running irqbalance.
Thanks
[Li,Rongqing]