Re: [Spice-devel] [RFC PATCH 1/1] Add a usbredir kernel module to remotely connect USB devices over IP.

From: Oliver Neukum
Date: Mon Jul 06 2015 - 04:21:36 EST


On Fri, 2015-07-03 at 10:51 +0200, Krzysztof Opasiak wrote:
> Doesn't we have the same problem with functionfs/gadgetfs and
> dummy_hcd?
> Or with fuse?
>
> It's a very generic problem for all "virtualized devices" and it is
> known for quite a long time. This is why many tutorials about swap
> warns
> that swap should be set up only on real block devices which are fully
> served in kernel.

Indeed. But the point is that it isn't limited to swap. As you as
a page needs to be laundered the problem exists.
Mmapping a file for write (non private) is enough.

Regards
Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/