@@ -594,10 +594,10 @@ static void vhost_attach_mm(struct vhost_dev *dev)
594
594
if (dev -> use_worker ) {
595
595
dev -> mm = get_task_mm (current );
596
596
} else {
597
- /* vDPA device does not use worker thead , so there's
598
- * no need to hold the address space for mm. This help
597
+ /* vDPA device does not use worker thread , so there's
598
+ * no need to hold the address space for mm. This helps
599
599
* to avoid deadlock in the case of mmap() which may
600
- * held the refcnt of the file and depends on release
600
+ * hold the refcnt of the file and depends on release
601
601
* method to remove vma.
602
602
*/
603
603
dev -> mm = current -> mm ;
@@ -731,7 +731,7 @@ static void __vhost_vq_attach_worker(struct vhost_virtqueue *vq,
731
731
* We don't want to call synchronize_rcu for every vq during setup
732
732
* because it will slow down VM startup. If we haven't done
733
733
* VHOST_SET_VRING_KICK and not done the driver specific
734
- * SET_ENDPOINT/RUNNUNG then we can skip the sync since there will
734
+ * SET_ENDPOINT/RUNNING then we can skip the sync since there will
735
735
* not be any works queued for scsi and net.
736
736
*/
737
737
mutex_lock (& vq -> mutex );
@@ -2860,7 +2860,7 @@ void vhost_add_used_and_signal_n(struct vhost_dev *dev,
2860
2860
}
2861
2861
EXPORT_SYMBOL_GPL (vhost_add_used_and_signal_n );
2862
2862
2863
- /* return true if we're sure that avaiable ring is empty */
2863
+ /* return true if we're sure that available ring is empty */
2864
2864
bool vhost_vq_avail_empty (struct vhost_dev * dev , struct vhost_virtqueue * vq )
2865
2865
{
2866
2866
int r ;
0 commit comments