RE: [PATCH V6 4/7] vfio/type1: restore locked_vm

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

 



> From: Steve Sistare <steven.sistare@xxxxxxxxxx>
> Sent: Saturday, December 17, 2022 2:51 AM
> 
> +static int vfio_change_dma_owner(struct vfio_dma *dma)
> +{
> +	int ret = 0;
> +	struct task_struct *task = current->group_leader;
> +	struct mm_struct *mm = current->mm;
> +
> +	if (task->mm != dma->mm) {

	if (mm != dma->mm) {
		...

with that fixed:

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>




[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