On 07/04/12 04:24, Nicholas A. Bellinger wrote: > +/* Fill in status and signal that we are done processing this command > + * > + * This is scheduled in the vhost work queue so we are called with the owner > + * process mm and can access the vring. > + */ > +static void vhost_scsi_complete_cmd_work(struct vhost_work *work) > +{ As far as I can see vhost_scsi_complete_cmd_work() runs on the context of a work queue kernel thread and hence doesn't have an mm context. Did I misunderstand something ? Bart. _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization