Re: iommu_iova slab eats too much memory

2020-04-25 Thread Bin
Dear John: Thank you for your reply. The case you mentioned is a typical performance regression issue, there's no need for the kernel to oom kill any random process even in the worst case. But in my observations, the iommu_iova slab could consume up to 40G memory, and the kernel have to kill my

Re: [PATCH] iommu/amd: Fix legacy interrupt remapping for x2APIC-enabled system

2020-04-25 Thread Suravee Suthikulpanit
Ping. Thanks, Suravee On 4/22/20 8:30 PM, Suravee Suthikulpanit wrote: Currently, system fails to boot because the legacy interrupt remapping mode does not enable 128-bit IRTE (GA), which is required for x2APIC support. Fix by using AMD_IOMMU_GUEST_IR_LEGACY_GA mode when booting with kernel op