Re: [Qemu-devel] [PATCH] x86/cpu: Enable CLDEMOTE(Demote Cache Line) cpu feature

2018-05-07 Thread Eduardo Habkost
On Fri, May 04, 2018 at 11:57:33AM +0800, Jingqi Liu wrote: > The CLDEMOTE instruction hints to hardware that the cache line that > contains the linear address should be moved("demoted") from > the cache(s) closest to the processor core to a level more distant > from the processor core. This may ac

Re: [Qemu-devel] [PATCH] x86/cpu: Enable CLDEMOTE(Demote Cache Line) cpu feature

2018-05-02 Thread Liu, Jingqi
Yes. The corresponding patch in KVM refers to the following link: https://www.spinics.net/lists/kernel/msg2792864.html Thanks. -Original Message- From: Eduardo Habkost [mailto:ehabk...@redhat.com] Sent: Thursday, May 3, 2018 11:05 AM To: Liu, Jingqi Cc: qemu-devel@nongnu.org; pbonz...@r

Re: [Qemu-devel] [PATCH] x86/cpu: Enable CLDEMOTE(Demote Cache Line) cpu feature

2018-05-02 Thread Eduardo Habkost
On Fri, May 04, 2018 at 11:57:33AM +0800, Jingqi Liu wrote: > The CLDEMOTE instruction hints to hardware that the cache line that > contains the linear address should be moved("demoted") from > the cache(s) closest to the processor core to a level more distant > from the processor core. This may ac

[Qemu-devel] [PATCH] x86/cpu: Enable CLDEMOTE(Demote Cache Line) cpu feature

2018-05-02 Thread Jingqi Liu
The CLDEMOTE instruction hints to hardware that the cache line that contains the linear address should be moved("demoted") from the cache(s) closest to the processor core to a level more distant from the processor core. This may accelerate subsequent accesses to the line by other cores in the same