Re: [PATCH] KVM: x86/mmu: Don't create kvm-nx-lpage-re kthread if not itlb_multihit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Got it, I like the solution, thanks!

On Sat, May 6, 2023 at 10:59 PM Robert Hoo <robert.hoo.linux@xxxxxxxxx> wrote:
>
> On 5/6/2023 3:12 PM, zhuangel570 wrote:
> > The "never" parameter works for environments without ITLB MULTIHIT issue. But
> > for vulnerable environments, should we prohibit users from turning off
> > software mitigations?
> >
> > As for the nx_huge_page_recovery_thread worker thread, this is a solution to
> > optimize software mitigation, maybe not needed in all cases.
> > For example, on a vulnerable machine, software mitigations need to be enabled,
> > but worker threads may not be needed when the VM determines that huge pages
> > are not in use (not sure).
>
> Then nx_hugepage is totally not needed:)
> >
> > Do you think it is possible to introduce a new parameter to disable worker
> > threads?
>
> I suggest no. I would perceive this kthread as ingredient of nx_hugepage
> solution.
>
>


-- 
——————————
   zhuangel570
——————————




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux