Re: [PATCH resend 1/2] vdpa/snet: support getting and setting VQ state

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

 




在 2023/4/10 15:09, Alvaro Karsz 写道:
In this case, I can just remove the wmb and that's it, right?
But who or how to prevent the preemption?
We use a mutex to protect the control mechanism (snet->ctrl_lock).


I meant mutex doesn't prevent the preemption so the process could be migrated to another cpu.

Thanks





_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization




[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux