From: Jens Freimann Date: Tue, 26 Jun 2012 00:59:58 +0000 (+0000) Subject: vhost: use USER_DS in vhost_worker thread X-Git-Tag: v3.5-rc5~17^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7ffde35e31a81100d2d0d2c4013cbf527bb32ea;p=pandora-kernel.git vhost: use USER_DS in vhost_worker thread On some architectures address spaces are set up in a way that this is not necessary to work properly but on some others (like s390) it is. Make sure we operate on the user address space to allow copy_xxx_user() from the vhost_worker() thread by setting it explicitly before calling use_mm() and revert it after unuse_mm(). Signed-off-by: Jens Freimann Signed-off-by: Christian Borntraeger Acked-by: Michael S. Tsirkin Signed-off-by: David S. Miller --- Reading git-diff-tree failed