Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753856AbbGFIV1 (ORCPT ); Mon, 6 Jul 2015 04:21:27 -0400 Received: from cantor2.suse.de ([195.135.220.15]:54055 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751158AbbGFIVZ (ORCPT ); Mon, 6 Jul 2015 04:21:25 -0400 Message-ID: <1436170821.8225.1.camel@suse.com> Subject: Re: [Spice-devel] [RFC PATCH 1/1] Add a usbredir kernel module to remotely connect USB devices over IP. From: Oliver Neukum To: Krzysztof Opasiak Cc: Alan Stern , Jeremy White , Hans de Goede , "Daniel P. Berrange" , spice-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 06 Jul 2015 10:20:21 +0200 In-Reply-To: <55964CFF.1090803@samsung.com> References: <55964CFF.1090803@samsung.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 832 Lines: 24 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/